[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•1 year 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•1 year 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•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D192888
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D192889
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D192889
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year 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•1 year ago
|
Comment 10•1 year ago
|
||
Comment 11•1 year 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
•