DefaultPlayerSynchronizer

Default implementation of PlayerSynchronizer.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun onPlayerChanged(oldPlayer: PillarboxPlayer, newPlayer: PillarboxPlayer)
Link copied to clipboard
open override fun onTracksChanged(newTracks: Tracks, selectedAudioTrack: AudioTrack?, selectedTextTrack: TextTrack?): PlayerSynchronizer.Selection

Called when the androidx.media3.common.Tracks of the current player are ready to set up the track selection from the previous player.