47 bytes, text/x-phabricator-request
|Details | Review|
Once we're parsing cbcs information form mp4s (bug 1487416) we'll need to handle passing it to the GMP and packing if for widevine. This will require updating our IPDL and packing the new fields appropriately into Widevine structs.
Note, we only pass the relevant IV across the IPC boundry. I.e. if the crypto scheme is cenc we do not pass a constant IV (this is only used by cbcs), and only pass per sample IVs. For cbcs we do the converse. This means in the CDM child we're only receiving one IV, which should be appropriate for whatever scheme (this is similar to how Chromium handle IVs being passed to the CDM). The CDM child side now writes pattern information to samples it's preparing for CDM. With these changes we should be passing all the information required to handle cbcs to the CDM.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/36ec37a68035 Add pattern encryption params to GMP IPDL and plumb to the CDM. r=cpearce
You need to log in before you can comment on or make changes to this bug.