flashls icon indicating copy to clipboard operation
flashls copied to clipboard

How do I seek to the 'current' position in a live stream after a pause.

Open kristoph opened this issue 9 years ago • 2 comments

After I pause a live stream for some undefined period how do I resume to stream at the current position of that stream.

I've tried seek 0, seek -1, seek hls.position to no avail.

( Thank you! )

kristoph avatar Apr 03 '16 23:04 kristoph

I'm using the ChromelessPlayer and here's what I do:

Use playerStop() instead of playerPause(). Then call playerLoad(src) and playerPlay(-1) and you'll be back at the live point.

Ideally playerResume() would be smart enough to seek to the right time, but it doesn't seem to.

nhjm449 avatar Apr 13 '16 23:04 nhjm449

hls.stream.resume() should work ?

mangui avatar Apr 14 '16 09:04 mangui