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

Report MediaError.message if it exists (eg Firefox) #1696

Conversation

davemevans
Copy link
Contributor

I recently became aware that Firefox has added a message attribute to the MediaError which gives potentially useful information about the cause of playback errors.

Example: 0x80004005: IsInitSegmentPresent: Invalid Box:gsme

It makes sense to report this if it exists to aid diagnosis of issues (cf MediaError.msExtendedCode).

@dsparacio dsparacio merged commit d8a8bd2 into Dash-Industry-Forum:development Dec 13, 2016
@davemevans davemevans deleted the ReportMediaErrorMessageIfItExists branch December 13, 2016 21:16
@davemevans davemevans added this to the v2.4.0 milestone Dec 13, 2016
@cpeterso
Copy link

btw, MediaError.message is available in Firefox 50+. Chrome and WHATWG are looking to standardize this API in whatwg/html#2085.

@dsparacio
Copy link
Contributor

thanks @cpeterso for the update.

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

Successfully merging this pull request may close these issues.

3 participants