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

Can there be multiple license servers per KID? #2

Open
wilaw opened this issue Jul 31, 2020 · 0 comments
Open

Can there be multiple license servers per KID? #2

wilaw opened this issue Jul 31, 2020 · 0 comments

Comments

@wilaw
Copy link
Member

wilaw commented Jul 31, 2020

[From https://github.com/Dash-Industry-Forum/dash.js/issues/3343]

When the keymessage is dispatched by the CDM we need to map the upcoming request to a license server. Is it possible that an MPD contains different license servers for different KIDs? In https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest_1080p_ClearKey.mpd I can see that we have multiple clearkey:Laurlelements. Right now the code does not contain a mapping of the keymessage to the appropriate AdaptationSet. Instead I use the first clearkey:Laurl element I can find.

If a mapping is required how does it look like? Would I use the provided sessionId and save a mapping of sessionId to AdaptationSet/Representation? Or would I parse the keymessage, extract the KID/cenc:default_KID and search for that kid in the MPD?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant