HlsDataSourceFactory


@UnstableApi
public interface HlsDataSourceFactory

Known direct subclasses

Creates DataSources for HLS playlists, encryption and media chunks.

Summary

Public methods

abstract DataSource

Creates a DataSource for the given data type.

Public methods

createDataSource

abstract DataSource createDataSource(@C.DataType int dataType)

Creates a DataSource for the given data type.

Parameters
@C.DataType int dataType

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

Returns
DataSource

A DataSource for the given data type.