Open Bug 1197438 Opened 5 years ago Updated 4 years ago

Log warnings about media decoding problems to browser console

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

People

(Reporter: cpeterson, Unassigned)

References

(Blocks 1 open bug)

Details

Many MSE problems are due to badly encoded media. We should help web developers and testers identify bad media or misuse of the MSE API instead of blaming Firefox (e.g. bug 1191202).

The EME code uses LogToBrowserConsole() to report some warnings to the browser console:

https://mxr.mozilla.org/mozilla-central/ident?i=LogToBrowserConsole
Priority: -- → P2
Duplicate of this bug: 1218274
Duplicate of this bug: 1207923
In duplicate bug 1207923, Anthony noted that:

At the moment it is difficult to debug problems with media playback in Firefox. Adding additional information to the browser console will help people debug their media issues. Eventually when we have a sufficient amount of useful information we could potentially create a media console tab.
See Also: → 1125824
The most common media errors we would like to report are:

1. demuxer errors
2. platform decoder errors
3. unsupported MIME types, e.g. DivX
When we get to this, maybe some code could be shared with the Decoder Doctor (bug 1180108), which focuses on pre-decoding issues (e.g. missing libraries).
Whoever takes this bug, please talk to me.
No longer blocks: decoder-doctor
See Also: → decoder-doctor
Mass change P2 -> P3
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.