Open Bug 1549737 Opened 6 years ago Updated 2 years ago

Add testcase for mp4 with cbcs encryption scheme where init data is contained in fragment

Categories

(Core :: Audio/Video: Playback, task, P3)

task

Tracking

()

People

(Reporter: bryce, Unassigned)

References

Details

This is implementing a test case to cover bug 1549544.

We would need to create an mp4 encrypted with the cbcs scheme that has the pssh box in a moof (rather than the moov init data). We then need to verify that the appropriate init data type is exposed in the encrypted event seen by the browser.

I'm not sure what tooling is available to place the pssh box in the moof instead of the moov, but worst comes to worst this could be done with a hex editor by hand. Edit, when it comes time to do this, it looks like shaka-packager has a key rotation option, which could be worth investigating.

Bug 1351124 provides some prior art for the same test case with the cenc scheme.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.