Open Bug 1197438 Opened 7 years ago Updated 6 years ago

Log warnings about media decoding problems to browser console


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





(Reporter: cpeterson, Unassigned)


(Blocks 1 open bug)


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:
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.