Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopping/restarting live stream #329

Open
jcollie opened this issue Jul 4, 2015 · 1 comment
Open

Stopping/restarting live stream #329

jcollie opened this issue Jul 4, 2015 · 1 comment

Comments

@jcollie
Copy link

jcollie commented Jul 4, 2015

I have a live HLS stream at http://peach.duckdns.org/live.m3u8 Everything works fine on first load or using pause/resume using the example player at http://www.flashls.org/latest/examples/chromeless/. However, if I hit the "stop" button and then the "play" button the player won't re-fetch the m3u8 file, it just re-plays the content that is cached in memory. Reloading the page gets the stream playing again. This is a problem because I'm using the clappr player, and it only exposes the stop control when playing a live stream. Is there something different that I should be doing when constructing the HLS stream (currently using FFMpeg), different HTTP headers, or maybe something in the JavaScript that creates the player? Or is this a bug I'm hitting in the player?

@mangui
Copy link
Owner

mangui commented Jul 15, 2015

@jcollie
chromeless stop() button will stop the video playback and the fragment buffering. but indeed it is not flushing the internal buffer. this is why you are still able to play content cached in memory.
in your case you want to reload the stream.
I guess there should be some means with clappr to relad the URL ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants