Commit Graph
6 Commits
Author SHA1 Message Date
Chris Pearce 8e82460dcd Bug 1329543 - Remove Primetime SystemId from PSSH parser. r=gerald
MozReview-Commit-ID: JzhhMFpzyjg
2017-01-14 11:28:43 +08:00
Chris Pearce 1d11bf0d73 Bug 1308076 - Ensure Primetime PSSH boxes pass the PSSH validator. r=jwwang
Primetime PSSH boxes don't use the common encryption system ID.
So to ensure we don't break any existing Primetime players, we
must allow PSSH boxes with the Primetime system ID to pass the
PSSH validator.

MozReview-Commit-ID: 3q58FKLQXgV
2016-10-10 23:47:28 -07:00
Chris Pearce 6aa645cfb2 Bug 1308076 - Fixup PSSH parser gtests. r=jwwang
We're now obliged to be stricter, taking from the example of the Web Platform
Tests.

MozReview-Commit-ID: AJNDoRZ9BF8
2016-10-07 21:12:18 +13:00
Chris Pearce 2d3c1a4160 Bug 1308076 - Rename CLEARKEY_KEY_LEN to CENC_KEY_LEN. r=jwwang
This better reflects that it's used for all CENC keys, not just ClearKey keys.

MozReview-Commit-ID: 9uCzDKVDLjc
2016-10-07 11:14:04 +13:00
Chris Pearce dc6f567990 Bug 1308076 - Use PsshParser to validate CENC init data. r=jwwang
Now that we can link gmp-clearkey's PSSH parser into Gecko, we can
simply use that inside MediaKeySession to validate that the CENC
init data matches the spec.

This change enforces that CENC init data uses the common system Id.
As far as I can tell, Widevine only uses that now.

MozReview-Commit-ID: HrlKQHcv5DI
2016-10-06 23:17:44 +13:00
Chris Pearce 17165c7495 Bug 1308076 - Move ClearKeyCencParser to PsshParser library. r=glandium
To validate the PSSH init data passed to EME, I'd like to reuse the same
PSSH parser that the ClearKey CDM shared library uses. So move the code
out of gmp-clearkey and into its own library, so we can link it statically
into code that needs to use it.



MozReview-Commit-ID: 7xSUSmCueJz
2016-10-06 20:23:38 +13:00