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

How can I know if the streaming is playing? #6830

Open
Martini002 opened this issue Nov 5, 2024 · 2 comments
Open

How can I know if the streaming is playing? #6830

Martini002 opened this issue Nov 5, 2024 · 2 comments
Labels

Comments

@Martini002
Copy link

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 Martini002 added Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. Question labels Nov 5, 2024
@robwalch
Copy link
Collaborator

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 robwalch removed the Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. label Nov 13, 2024
@Martini002
Copy link
Author

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

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

No branches or pull requests

2 participants