Interface HlsDataSourceFactory
-
- All Known Implementing Classes:
DefaultHlsDataSourceFactory
@Deprecated public interface HlsDataSourceFactory
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.CreatesDataSources for HLS playlists, encryption and media chunks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DataSourcecreateDataSource(@com.google.android.exoplayer2.C.DataType int dataType)Deprecated.Creates aDataSourcefor the given data type.
-
-
-
Method Detail
-
createDataSource
DataSource createDataSource(@com.google.android.exoplayer2.C.DataType int dataType)
Deprecated.Creates aDataSourcefor the given data type.- Parameters:
dataType- TheC.DataTypefor which theDataSourcewill be used.- Returns:
- A
DataSourcefor the given data type.
-
-