SimulcastEventListener

interface SimulcastEventListener

Created by arv on 1/5/18.

Functions

onPlayerError
Link copied to clipboard
abstract fun onPlayerError(error: Exception)

Player has an error that prevents it from playing the stream

onPlayerStateChanged
Link copied to clipboard
abstract fun onPlayerStateChanged(playerState: SimulcastPlaybackState)

Triggered every time player state is changed

onPlayItemBeganPlayback
Link copied to clipboard
abstract fun onPlayItemBeganPlayback(play: Play)

This event will be triggered when next item begins playback. The previous item may still be playing if crossfading is enabled

onProgressUpdate
Link copied to clipboard
abstract fun onProgressUpdate(play: Play, elapsedTime: Float, duration: Float)

Triggered every 500ms for progress updates on current playing item