public interface

HlsPlaylistTracker.Factory

 androidx.media3.exoplayer.hls.playlist.HlsPlaylistTracker.Factory

Overview

Factory for HlsPlaylistTracker instances.

Summary

Methods
public HlsPlaylistTrackercreateTracker(HlsDataSourceFactory dataSourceFactory, LoadErrorHandlingPolicy loadErrorHandlingPolicy, HlsPlaylistParserFactory playlistParserFactory)

Creates a new tracker instance.

Methods

public HlsPlaylistTracker createTracker(HlsDataSourceFactory dataSourceFactory, LoadErrorHandlingPolicy loadErrorHandlingPolicy, HlsPlaylistParserFactory playlistParserFactory)

Creates a new tracker instance.

Parameters:

dataSourceFactory: The HlsDataSourceFactory to use for playlist loading.
loadErrorHandlingPolicy: The LoadErrorHandlingPolicy for playlist load errors.
playlistParserFactory: The HlsPlaylistParserFactory for playlist parsing.