HlsPlaylistTracker.Factory


interface HlsPlaylistTracker.Factory


Factory for HlsPlaylistTracker instances.

Summary

Public functions

HlsPlaylistTracker!
createTracker(
    dataSourceFactory: HlsDataSourceFactory!,
    loadErrorHandlingPolicy: LoadErrorHandlingPolicy!,
    playlistParserFactory: HlsPlaylistParserFactory!,
    cmcdConfiguration: CmcdConfiguration?
)

Creates a new tracker instance.

Public functions

createTracker

fun createTracker(
    dataSourceFactory: HlsDataSourceFactory!,
    loadErrorHandlingPolicy: LoadErrorHandlingPolicy!,
    playlistParserFactory: HlsPlaylistParserFactory!,
    cmcdConfiguration: CmcdConfiguration?
): HlsPlaylistTracker!

Creates a new tracker instance.

Parameters
dataSourceFactory: HlsDataSourceFactory!

The HlsDataSourceFactory to use for playlist loading.

loadErrorHandlingPolicy: LoadErrorHandlingPolicy!

The LoadErrorHandlingPolicy for playlist load errors.

playlistParserFactory: HlsPlaylistParserFactory!

The HlsPlaylistParserFactory for playlist parsing.

cmcdConfiguration: CmcdConfiguration?

The CmcdConfiguration to use for playlist loading.