Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dash): Parse ClearKey license URL in MPD #4066

Merged
merged 1 commit into from Mar 30, 2022

Conversation

sr1990
Copy link
Contributor

@sr1990 sr1990 commented Mar 28, 2022

Hi,
This PR is related to parsing Clear Key license as per DASH-IF-IOP-Part6-v5.0.0. - Part 8.

Example content protection tags parsed:

          
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="<default key id>" />
            <ContentProtection value="ClearKey1.0" schemeIdUri="urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e">
                <clearkey:Laurl Lic_type="EME-1.0">License Url</clearkey:Laurl>

The player parses the default key id and license url,
and sends a POST request to license url as per https://w3c.github.io/encrypted-media/#clear-key-request-format to retrieve the decryption key/s.

@sr1990 sr1990 changed the title [DASH] Parse ClearKey License in DASH mpd. [DASH] Parse ClearKey License url in DASH mpd. Mar 28, 2022
@joeyparrish joeyparrish changed the title [DASH] Parse ClearKey License url in DASH mpd. feat(dash): Parse ClearKey license URL in MPD Mar 28, 2022
@joeyparrish joeyparrish added the type: enhancement New feature or request label Mar 30, 2022
@joeyparrish joeyparrish merged commit 19e24b1 into shaka-project:main Mar 30, 2022
@avelad avelad added this to the v4.0 milestone May 4, 2022
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants