PlayerSynchronizer

Interface to configure the state of two players.

Inheritors

Functions

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

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