HlsDataSourceFactory


@UnstableApi
interface HlsDataSourceFactory

Known direct subclasses

Creates DataSources for HLS playlists, encryption and media chunks.

Summary

Public functions

DataSource!

Creates a DataSource for the given data type.

Public functions

createDataSource

fun createDataSource(@C.DataType dataType: Int): DataSource!

Creates a DataSource for the given data type.

Parameters
@C.DataType dataType: Int

The C.DataType for which the DataSource will be used.

Returns
DataSource!

A DataSource for the given data type.