-
Hello, When starting a live stream, it seems that I get media player event in the following order. 08:48:06.076 - streamActivated => From what moment can I call the "seek "method ? My assumption was that It could be called from "playBackStarted" event, but it doesn't work. What's the best place to determine when a stream is really ready to be handled (play/pause/seek...) ? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answer from dsilhavy I can use the PLAYBACK_LOADED_DATA event. As a matter of fact, when loading a live stream, I get events in the following order : 16:50:57.183 - streamDeactivated |
Beta Was this translation helpful? Give feedback.
Answer from dsilhavy
I can use the PLAYBACK_LOADED_DATA event.
As a matter of fact, when loading a live stream, I get events in the following order :
16:50:57.183 - streamDeactivated
16:50:57.183 - streamActivated
16:50:57.270 - playbackStarted
16:50:57.280 - playbackMetaDataLoaded => seek not working
16:50:57.280 - streamInitialized => seek not working
16:50:59.858 - playbackTimeUpdated => seek working here
16:50:59.860 - playbackLoadedData => seek working here
16:50:59.860 - playbackPlaying
16:51:00.136 - playbackTimeUpdated
16:51:00.396 - playbackTimeUpdated