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.CreatesDataSource
s for HLS playlists, encryption and media chunks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DataSource
createDataSource(@com.google.android.exoplayer2.C.DataType int dataType)
Deprecated.Creates aDataSource
for the given data type.
-
-
-
Method Detail
-
createDataSource
DataSource createDataSource(@com.google.android.exoplayer2.C.DataType int dataType)
Deprecated.Creates aDataSource
for the given data type.- Parameters:
dataType
- TheC.DataType
for which theDataSource
will be used.- Returns:
- A
DataSource
for the given data type.
-
-