hls.js
hls.js copied to clipboard
How can I know if the streaming is playing?
What do you want to do with Hls.js?
I'm playing M3U8 urls, some are broken links and others works fine. How can I detect if the streaming is not playing after let's say 5 seconds Can we detect the buffering or the bytes received? Thank you
What have you tried so far?
I'm not well versed in JS, please help.
Steps four and five of "Getting started" in the API doc are supposed to inform developers about playback and error handling:
https://github.com/video-dev/hls.js/blob/master/docs/API.md#fourth-step-control-through-video-element
I will check them, I might need some extra help as I'm not a JS dev, thank you very much