flashls
flashls copied to clipboard
How do I seek to the 'current' position in a live stream after a pause.
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! )
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.
hls.stream.resume() should work ?