[wmfme] load external Widevine L1 CDM library
Categories
(Core :: Audio/Video: Playback, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 2 obsolete files)
Currently we haven't figured out a way to deploy Widevine L1 library on Firefox, this bug is used to handle that and assign the correct library path. In addition, we also need to figure the sandbox restriction for loading the external library.
Assignee | ||
Comment 1•7 months ago
|
||
After landing bug 1862051, we will be able to get Widevine L1 dll by adding following prefs to all.js
pref("media.gmp-widevinecdm-l1.visible", true);
pref("media.gmp-widevinecdm-l1.enabled", true);
pref("media.gmp-widevinecdm-l1.forceInstall", true);
pref("media.gmp.log.dump", true);
pref("media.gmp.log.level", 0);
Then there will be a gmp-widevinecdm-l1
folder under the $PROFILE. Eg. My Widevine dll is put in C:\mozilla-source\mozilla-unified\obj-x86_64-pc-windows-msvc\tmp\profile-default\gmp-widevinecdm-l1\1.0.2512.1
.
Then we need to
- pass the path of L1 dll to here
- disable Cig for the CDM process, Widevine L1 can't work with this mitigation enabled.
- add dll path to
mAllowedFilesRead
when starting the CDM process (in my testing, I added the code here) - add dll path to LPAC to get the permission, like this
In my own testing, I can confirm that Firefox can play Widevine L1 when LPAC is enabled.
Comment 2•7 months ago
|
||
(In reply to Alastor Wu [:alwu] from comment #1)
...
Then we need to
- pass the path of L1 dll to here
- disable Cig for the CDM process, Widevine L1 can't work with this mitigation enabled.
- add dll path to
mAllowedFilesRead
when starting the CDM process (in my testing, I added the code here)- add dll path to LPAC to get the permission, like this
In my own testing, I can confirm that Firefox can play Widevine L1 when LPAC is enabled.
I think that if we do 4 (which seems like the better option), we won't need 3.
Assignee | ||
Comment 3•7 months ago
|
||
Assignee | ||
Comment 4•7 months ago
|
||
Depends on D192888
Assignee | ||
Comment 5•7 months ago
|
||
Assignee | ||
Comment 6•7 months ago
|
||
Depends on D192889
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Assignee | ||
Comment 7•7 months ago
|
||
Depends on D192889
Updated•7 months ago
|
Updated•7 months ago
|
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8d7666c29292 part1 : ensure LPAC permission on Widevine L1 path. r=bobowen,aosmond https://hg.mozilla.org/integration/autoland/rev/8db74f3b7aa2 part2 : diable Cig for MFCDM process. r=bobowen https://hg.mozilla.org/integration/autoland/rev/dde990208a4f part3 : load Wideinve L1 dll. r=aosmond
Comment 9•6 months ago
|
||
Backed out for build bustages
Backout link: https://hg.mozilla.org/integration/autoland/rev/554a2534116aac6e36e7b7afc2c6d9bb2720fee1
Log link: https://treeherder.mozilla.org/logviewer?job_id=436960732&repo=autoland&lineNumber=83402
Assignee | ||
Updated•6 months ago
|
Comment 10•6 months ago
|
||
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/241391f4d50f part1 : ensure LPAC permission on Widevine L1 path. r=bobowen,aosmond https://hg.mozilla.org/integration/autoland/rev/7b58ee78cfcd part2 : diable Cig for MFCDM process. r=bobowen https://hg.mozilla.org/integration/autoland/rev/c76357a03d76 part3 : load Wideinve L1 dll. r=aosmond
Comment 11•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/241391f4d50f
https://hg.mozilla.org/mozilla-central/rev/7b58ee78cfcd
https://hg.mozilla.org/mozilla-central/rev/c76357a03d76
Description
•