hls.js icon indicating copy to clipboard operation
hls.js copied to clipboard

How can I know if the streaming is playing?

Open Martini002 opened this issue 1 year ago • 2 comments

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.

Martini002 avatar Nov 05 '24 21:11 Martini002

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

robwalch avatar Nov 13 '24 14:11 robwalch

I will check them, I might need some extra help as I'm not a JS dev, thank you very much

Martini002 avatar Nov 13 '24 14:11 Martini002