Closed Bug 1863800 Opened 1 year ago Closed 1 year ago

[wmfme] trigger L1 download when detecting Widevine hardware request

Categories

(Core :: Audio/Video: Playback, task, P2)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(7 files)

After landing bug 1858546, if we enable some prefs then we can start using Widevine L1. However, we still need to handle normal path when users first request for Widevine L1, which should trigger downloading L1.

Blocks: mfcdm

Depends on D195830

Attachment #9367554 - Attachment description: WIP: Bug 1863800 - part1 : log message to see if a request asks for a HWDRM. → Bug 1863800 - part1 : log message to see if a request asks for a HWDRM.
Attachment #9367555 - Attachment description: WIP: Bug 1863800 - part2 : check if Widevine L1 is installed. → Bug 1863800 - part2 : check if Widevine L1 is installed.
Attachment #9367556 - Attachment description: WIP: Bug 1863800 - part3 : don't result nullptr if L1 path hasn't been set yet. → Bug 1863800 - part3 : don't result nullptr if L1 path hasn't been set yet.
Attachment #9367557 - Attachment description: WIP: Bug 1863800 - part4 : rename MFCDMCapabilities to MFCDMService in order to add more helper functions for the chrome process. → Bug 1863800 - part4 : rename MFCDMCapabilities to MFCDMService in order to add more helper functions for the chrome process.
Attachment #9367558 - Attachment description: WIP: Bug 1863800 - part5 : set L1 path on the MFCDM process if it's already created before downloading L1. → Bug 1863800 - part5 : set L1 path on the MFCDM process if it's already created before downloading L1.

Depends on D195950

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3eef40828d86 part1 : log message to see if a request asks for a HWDRM. r=media-playback-reviewers,aosmond https://hg.mozilla.org/integration/autoland/rev/750dc1b57c2b part2 : check if Widevine L1 is installed. r=aosmond https://hg.mozilla.org/integration/autoland/rev/7fa5617dd0f5 part3 : don't result nullptr if L1 path hasn't been set yet. r=aosmond https://hg.mozilla.org/integration/autoland/rev/68267c6bf0ac part4 : rename MFCDMCapabilities to MFCDMService in order to add more helper functions for the chrome process. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/f3f86cc42775 part5 : set L1 path on the MFCDM process if it's already created before downloading L1. r=aosmond,gerard-majax https://hg.mozilla.org/integration/autoland/rev/272c033e5d58 part6 : always use the latest plugin path for Widevine L1. r=aosmond https://hg.mozilla.org/integration/autoland/rev/d89d2efafd8a part7 : add test to check L1 installation. r=aosmond

Backed out for causing bustage on MediaKeySystemAccessManager.cpp

Backout link

Push with failures

Failure log

Flags: needinfo?(alwu)
Flags: needinfo?(alwu)
Attachment #9367556 - Attachment description: Bug 1863800 - part3 : don't result nullptr if L1 path hasn't been set yet. → Bug 1863800 - part3 : don't return nullptr if L1 path hasn't been set yet.
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/48afb1c47d41 part1 : log message to see if a request asks for a HWDRM. r=media-playback-reviewers,aosmond https://hg.mozilla.org/integration/autoland/rev/135acf31f882 part2 : check if Widevine L1 is installed. r=aosmond https://hg.mozilla.org/integration/autoland/rev/56ec8241e157 part3 : don't return nullptr if L1 path hasn't been set yet. r=aosmond https://hg.mozilla.org/integration/autoland/rev/e2d6fc08acb8 part4 : rename MFCDMCapabilities to MFCDMService in order to add more helper functions for the chrome process. r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/a333dc97846a part5 : set L1 path on the MFCDM process if it's already created before downloading L1. r=aosmond,gerard-majax https://hg.mozilla.org/integration/autoland/rev/87a1a95c0bfe part6 : always use the latest plugin path for Widevine L1. r=aosmond https://hg.mozilla.org/integration/autoland/rev/d5019c2ba9ef part7 : add test to check L1 installation. r=aosmond
Regressions: 1871097
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: