Closed
Bug 1208349
Opened 9 years ago
Closed 9 years ago
[EME] canPlayType still broken on Windows N
Categories
(Core :: Audio/Video: Playback, defect, P1)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: cpearce, Assigned: cpearce)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.57 KB,
patch
|
jya
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Despite my efforts in bug 1207376, canPlayType still functions incorrectly on Windows N when the WMF codecs are not installed (the default).
Now that I have a Windows N VM setup, fixing/testing this is a lot easier...
Assignee | ||
Comment 1•9 years ago
|
||
Note: The WMF PDM doesn't check to see if the MimeType has a codecs parameter, so there's not point putting an AAC/AVC codecs string there.
Attachment #8665800 -
Flags: review?(jyavenard)
Updated•9 years ago
|
Attachment #8665800 -
Flags: review?(jyavenard) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Needs uplift in time for 42b2.
Assignee | ||
Comment 4•9 years ago
|
||
Patch applies cleanly to aurora and beta.
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8665800 [details] [diff] [review]
Patch: Add SupportsMimeType call
Approval Request Comment
[Feature/regressing bug #]: EME/MSE/HTML5 video
[User impact if declined]: Users using Windows N variants will incorrectly report that they can play MP4/AAC/H.264 media. This means sites like YouTube and Netflix won't function correctly for these users. This is directly contributing to a significant number of failures on Netflix, and blocks Netflix shipping.
[Describe test coverage new/current, TreeHerder]: We have lots of unit tests covering media.
[Risks and why]: Low; we're checking explicitly that something will work before doing that thing.
[String/UUID change made/needed]: None.
Attachment #8665800 -
Flags: approval-mozilla-beta?
Attachment #8665800 -
Flags: approval-mozilla-aurora?
Comment 6•9 years ago
|
||
sorry had to back this out for test failures like https://treeherder.mozilla.org/logviewer.html#?job_id=14696517&repo=mozilla-inbound
and https://treeherder.mozilla.org/logviewer.html#?job_id=14694737&repo=mozilla-inbound
and
https://treeherder.mozilla.org/logviewer.html#?job_id=14694734&repo=mozilla-inbound
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8665800 [details] [diff] [review]
Patch: Add SupportsMimeType call
Review of attachment 8665800 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/fmp4/MP4Decoder.cpp
@@ +330,5 @@
> {
> PlatformDecoderModule::Init();
>
> nsRefPtr<PlatformDecoderModule> platform = PlatformDecoderModule::Create();
> + if (!platform || !platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/mp4"))) {
This needed to be "audio/mp4a-latm". That's why it's only audio tests that are failing.
Comment 10•9 years ago
|
||
Oops
Assignee | ||
Comment 11•9 years ago
|
||
Assignee | ||
Comment 12•9 years ago
|
||
Assignee | ||
Comment 13•9 years ago
|
||
I went and landed this without approval on Aurora and Beta I won't be awake when 42Beta2 goes to build tomorrow and it's critical that we have this in the next beta. Sorry for not following procedure properly on this. I wouldn't do it if it wasn't important.
Flags: needinfo?(cpearce)
Comment 14•9 years ago
|
||
Comment on attachment 8665800 [details] [diff] [review]
Patch: Add SupportsMimeType call
Post-approved, we discussed that by email.
Attachment #8665800 -
Flags: approval-mozilla-beta?
Attachment #8665800 -
Flags: approval-mozilla-beta+
Attachment #8665800 -
Flags: approval-mozilla-aurora?
Attachment #8665800 -
Flags: approval-mozilla-aurora+
Comment 15•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•