public interface HlsDataSourceFactory
DataSources for HLS playlists, encryption and media chunks.| Modifier and Type | Method and Description |
|---|---|
com.google.android.exoplayer2.upstream.DataSource |
createDataSource(int dataType)
Creates a
DataSource for the given data type. |
com.google.android.exoplayer2.upstream.DataSource createDataSource(int dataType)
DataSource for the given data type.dataType - The data type for which the DataSource will be used. One of C
.DATA_TYPE_* constants.DataSource for the given data type.