Handle passing cbcs information to Widevine CDM

RESOLVED FIXED in Firefox 66

Status

()

enhancement
P2
normal
RESOLVED FIXED
7 months ago
6 months ago

People

(Reporter: bryce, Assigned: bryce)

Tracking

(Blocks 1 bug)

unspecified
mozilla66
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox66 fixed)

Details

Attachments

(1 attachment)

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 bvandyk@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/36ec37a68035
Add pattern encryption params to GMP IPDL and plumb to the CDM. r=cpearce
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.