Skip to content

Updates to Support Latest Clearkey

Vinay Rosenberg requested to merge github/fork/cablelabs/clearkey into development

Created by: greg80303

The EME spec has been updated to add much more detail to the ClearKey key system. This includes a newly defined PSSH format for ClearKey. With the release of Chrome 41, this makes the previous version of ClearKey incompatible. This PR updates dash.js to support the latest ClearKey on Chrome 41+.

One caveat of having the PSSH defined in the spec is that we are no longer free to come up with our own formats. Previously, this freedom was used to define a format that allowed carriage of keys within the PSSH itself. Since this is no longer possible, and since we do not want to require an external ClearKey license server for testing purposes, there is now a set of hard-coded keys in the ProtectionExtensions object. This allows the test content to playback successfully.

The test content (available in the index.html Streams pulldown) has been updated to support the new PSSH format and should playback (with this PR) successfully on Chrome 41+.

Merge request reports