Closed Bug 1516660 Opened 2 years ago Closed 2 years ago

Handle passing cbcs information to Widevine CDM

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: bryce, Assigned: bryce)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.