Closed Bug 1207439 Opened 10 years ago Closed 10 years ago

[EME] Don't use GMPVideoDecoderTrialCreator for Primetime

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox41 --- wontfix
firefox42 --- fixed
firefox43 --- fixed
firefox44 --- fixed

People

(Reporter: cpearce, Assigned: cpearce)

References

Details

Attachments

(1 file)

We should remove the GMPVideoDecoderTrialCreator. It's purpose was to ensure the Adobe GMP would be able to decode using WMF, but they no longer do, so we no longer need this. It's also causing startup delay that's causing us to sometimes miss Netflix's 1 second navigator.requestMediaKeySystemAccess() deadline. It's also failing for Adobe's latest dev drop CDM, even though Adobe's decoder is outputting a sensible sized frame; the test pattern should be 100x100, but WMF outputs 112x112, so we fail the trial create. And then we crash due to some bug in the trial-create-failed path.
Priority: -- → P1
Let's refine the goal here to just narrow the trial create to be used only for ClearKey on Windows, to make the patch smaller and easier to uplift. We also need to ensure we only try to use ClearKey WMF decoder when it's actually going to work, and we haven't got that fixed yet.
Summary: [EME] Remove GMPVideoDecoderTrialCreator → [EME] Don't use GMPVideoDecoderTrialCreator for Primetime
Don't trial create the Adobe GMPVideoDecoder because it's not going to fail on random systems because of missing/broken WMF, and the trial create can be slow enough to make us miss Netflix's 1 second navigator.requestMediaKeySystemAccess deadline. Leave the clearkey trial create in for now on Windows to make this patch easier to uplift.
Attachment #8665742 - Flags: review?(edwin)
Uplift required. Will require bug 1205582 to be uplifted to apply cleanly.
Flags: needinfo?(cpearce)
Depends on: 1200059
Comment on attachment 8665742 [details] [diff] [review] Patch: Don't trial create Adobe Primetime video decoder Approval Request Comment [Feature/regressing bug #]: EME [User impact if declined]: Firefox will crash when trying to use the next version of the Adobe EME plugin that Adobe will deliver soon. [Describe test coverage new/current, TreeHerder]: We have tests covering EME and this feature. [Risks and why]: Low; this turns off an optional code path. [String/UUID change made/needed]: None.
Attachment #8665742 - Flags: approval-mozilla-beta?
Attachment #8665742 - Flags: approval-mozilla-aurora?
Comment on attachment 8665742 [details] [diff] [review] Patch: Don't trial create Adobe Primetime video decoder Obviously, we don't want firefox to crash! Taking it. Should be in 42.0b2.
Attachment #8665742 - Flags: approval-mozilla-beta?
Attachment #8665742 - Flags: approval-mozilla-beta+
Attachment #8665742 - Flags: approval-mozilla-aurora?
Attachment #8665742 - Flags: approval-mozilla-aurora+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Flags: needinfo?(cpearce)
See Also: → 1232527
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: