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

[WebM] Consider generating 'cenc:default_KID' attribute in ContentProtection element #69

Closed
kqyang opened this issue Jan 20, 2016 · 1 comment
Labels
status: archived Archived and locked; will not be updated type: enhancement New feature or request

Comments

@kqyang
Copy link
Collaborator

kqyang commented Jan 20, 2016

This is what the ContentProtection element looks like in mpd for webm mpd:

<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cenc:pssh>
AAAAT3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAC8IARIQGRgWXzFoWs60ER762nZScRoNd2lkZXZpbmVfdGVzdCIIMDEyMzQ1NjcyAA==
</cenc:pssh>
</ContentProtection>

Compared to ContentProtection elements for mp4 mpd:

<ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011"
                   cenc:default_KID="31323334-3536-3738-3930-313233343536"/>
<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">     
<cenc:pssh>
AAAAMHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABAxMjM0NTY3ODkwMTIzNDU2
</cenc:pssh>
</ContentProtection>

cenc:default_KID is useful to indicate that this content is encrypted using the key associated with this key id. Some players use cenc:default_KID to match DASH Representations to key statuses. We should consider generating cenc:default_KID in webm mpd too.

It could be something like this:

<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" 
                   cenc:default_KID="31323334-3536-3738-3930-313233343536">
<cenc:pssh>
AAAAT3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAC8IARIQGRgWXzFoWs60ER762nZScRoNd2lkZXZpbmVfdGVzdCIIMDEyMzQ1NjcyAA==
</cenc:pssh>
</ContentProtection>
@kqyang
Copy link
Collaborator Author

kqyang commented Jan 20, 2016

@TheModMaker

@kqyang kqyang added the type: enhancement New feature or request label Jan 22, 2016
@kqyang kqyang closed this as completed in cd74066 Jan 22, 2016
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 19, 2018
@shaka-project shaka-project locked and limited conversation to collaborators Apr 19, 2018
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

No branches or pull requests

2 participants