-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Uncaught DOMException: Failed to read the 'buffered' property from 'SourceBuffer' #971
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
Comments
Hi @simonemazzoni |
Hi @mangui, |
I can't reproduce the behaviour anymore. I'll let you know if it happens again. |
@mangui we've been seeing this one as well on streams that don't have alternate audio tracks. Unfortunately I haven't been able to reproduce so I don't have debug logs. Here's the stack trace though, it seems to consistently originate from the AudioStreamController from all the traces I looked at, not the corresponding path in the StreamController. From what I can tell, it appears to be an issue where the tick event interval gets called after the source buffer has been removed, but before the controller's destroy method gets called.
|
Hi @drichards in theory sourcebuffers could only be removed on :
i identified potential flaws in I am bit reluctant in adding a try/catch in if you could provide more insights on the workflow that could help (when does that exception happen : middle of playback, at video start, ... when switching videos) thanks in advance |
Hi @mangui pretty much all the instance I could see in our logs happened when we called hls.destroy(). It seems to me like the |
hi @drichards |
the only async thing is the I think the only defensive option is to add a try/catch in |
…red' property from 'SourceBuffer' related to #971
should be fixed in next release |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I found if use aac 5.1 has the same problem. |
Environment
Sometimes when I try to invoke the recoverMediaError() function to recover a FATAL media error (e.g. fragLoopLoadingError) I got this error
Uncaught DOMException: Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source.
I checked the source code and it looks like the problem is here
Does this rings any bell?
Thanks,
Simone
The text was updated successfully, but these errors were encountered: