HlsPlaylistTracker.Factory


interface HlsPlaylistTracker.Factory


Factory for HlsPlaylistTracker instances.

Summary

Public functions

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

Creates a new tracker instance.

Public functions

createTracker

fun createTracker(
    dataSourceFactory: HlsDataSourceFactory!,
    loadErrorHandlingPolicy: LoadErrorHandlingPolicy!,
    playlistParserFactory: HlsPlaylistParserFactory!
): 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.