Interface HlsDataSourceFactory
-
- All Known Implementing Classes:
DefaultHlsDataSourceFactory
public interface HlsDataSourceFactory
CreatesDataSource
s for HLS playlists, encryption and media chunks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSource
createDataSource(@com.google.android.exoplayer2.C.DataType int dataType)
Creates aDataSource
for the given data type.
-
-
-
Method Detail
-
createDataSource
DataSource createDataSource(@com.google.android.exoplayer2.C.DataType int dataType)
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.
-
-