-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Indicate fatal errors #564
Comments
Let me see if I understand you correctly. Some errors are non-fatal, such as HTTP errors, while some are fatal, such as a malformed manifest. You'd like to know which ones are fatal and which ones aren't, so you can avoid showing the user errors they don't care about. Is that accurate? Did I miss anything important? |
Thank you for your comment Joey. Yes, but this is only part of the issue. Let's apply that on the shaka Is it possible to use easily current shaka API / MediaElement API for fatal I'm sorry for unclear description. -ross On Thu, Nov 10, 2016 at 12:18 AM, Joey Parrish [email protected]
|
I agree. It's very important to know which error is fatal and which isn't. |
I've renamed the issue to "indicate fatal errors". I think it's very reasonable to add this to |
We aim to display a filtered group of errors to the user - only those fatal ones describing the reason for his/her inability to start or continue watching the content. We tried to utilize the error codes provided by Shaka, however, we realized that with the way the error events are currently handled, we wouldn't be able to achieve that perfectly.
Nevertheless, in our scenario the error would be already displayed to the user, although the playback continues once the stream recovers, because there is still enough data in the buffer, so no actual problem occurs from user's standpoint.
We would like to have better control over error processing, what approach should we take to display the errors at the very moment the user is affected, e.g. the exact moment the playback stalls? What means are there to handle HTTP status codes directly so that we can for instance influence the number of these status code-based errors possibly displayed to the user during a given time period?
Could all the errors themselves propagate an additional severity flag and possibly adapt the severity value depending on the situation with regards to the state of the playback?
Could we have error recover methods available? E.g. recover from not downloaded segment, new DRM key available, subtitles available with a different url.
The text was updated successfully, but these errors were encountered: