Package live.hms.hls_player
Interface HmsHlsPlaybackEvents
-
- All Implemented Interfaces:
public interface HmsHlsPlaybackEvents
-
-
Method Summary
Modifier and Type Method Description UnitonPlaybackFailure(HmsHlsException error)Returns when a fatal error has happened. UnitonCue(HmsHlsCue cue)Sends emoji and requests to launch polls that are synchronized with the hls video stream even if sent from webrtc. UnitonPlaybackStateChanged(HmsHlsPlaybackState state)Sent when the state of the player changes. -
-
Method Detail
-
onPlaybackFailure
Unit onPlaybackFailure(HmsHlsException error)
Returns when a fatal error has happened. HmsHlsPlayerInterface.play has to be called again for the video to play.
-
onCue
Unit onCue(HmsHlsCue cue)
Sends emoji and requests to launch polls that are synchronized with the hls video stream even if sent from webrtc. See @HmsHlsCue for more detail.
-
onPlaybackStateChanged
Unit onPlaybackStateChanged(HmsHlsPlaybackState state)
Sent when the state of the player changes.
-
-
-
-