Skip to content

From what moment can I call the seek method ? #4399

Answered by JPDelprat
JPDelprat asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JPDelprat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant