-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Handle "Uncaught error: no bytes available" #51
Comments
@fostertheweb you can eventually disable the worker to get more clue on the issue: https://github.com/dailymotion/hls.js/blob/master/API.md#enableworker if you could share a sample stream it would help as well. |
ok could you share a stream URI with which I can repro ? |
That is the URI from the m3u8 playlist file. It is for a channel currently streaming on Twitch.tv, if the channel is not streaming when you see this there are many ways to get another URL This blog post details how to retrieve the URL. There are also a few packages on npm doing the same thing: |
… video MP4 segment Follow suggestion from https://code.google.com/p/chromium/issues/detail?id=229412#c45 mark first video sample as being a sync point also remove slice type detection on NDR NALu, it is not needed with FF, and the Chrome workaround obsoletes this check related to https://github.com/dailymotion/hls.js/issues/23 related to https://github.com/dailymotion/hls.js/issues/51 (on Twitch, some fragments don't start with KeyFrame)
@fostertheweb |
awesome work, not experiencing the problem anymore. okay to close, but should the version number be bumped? |
Yes, this is worth it. Will do next week |
…witch Immediate fullscreen upswitch
https://github.com/dailymotion/hls.js/blob/master/src/demux/exp-golomb.js#L26
Intermittently I run into the issue where
availableBytes
equals 0, the video stops, and I have to manually start it again through my application so it reloads the video.When this error is thrown the source is the blob file, so I don't know how to catch and handle the error in my code. What actually causes
availableBytes
to equal 0? Is there a way to recover the stream or avoid this issue?Using hls.js 0.2.1 inside electron
The text was updated successfully, but these errors were encountered: