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

ClearKey license request payload is not recognized by the license server #3891

Closed
5 tasks done
msanmart-akamai opened this issue Feb 24, 2022 · 6 comments
Closed
5 tasks done
Labels

Comments

@msanmart-akamai
Copy link

msanmart-akamai commented Feb 24, 2022

Environment
Steps to reproduce
  1. Please provide clear steps to reproduce your problem
  2. If the bug is intermittent, give a rough frequency if possible
Observed behavior

Describe what the player is doing that is unexpected or undesired behaviour.

Console output
Paste the contents of the browser console here.
You may need to enable debug logging in dash.js by calling player.updateSettings({ 'debug': { 'logLevel': dashjs.Debug.LOG_LEVEL_DEBUG }}) if you are using your own page.
Expected behavior

The player should issue a POST request agains the license server passing a valid JSON document,
for example: '{"kids":["3q36zovPVSu9LoakNKmlBA"],"type":"temporary"}'

The license server is not recognizing the payload generated by the player request and it is failing to provide the associated decryption key.

In all our previous tests with the player we used a mockup of the license server with a hardcoded response for the POST request (i.e. it wasn't parsing the POST payload) and all worked fine. Now this server is parsing it but failing to recognize the input.

@msanmart-akamai msanmart-akamai changed the title ClearKey license request payload is not reby the license server ClearKey license request payload is not recognized the license server Feb 24, 2022
@msanmart-akamai msanmart-akamai changed the title ClearKey license request payload is not recognized the license server ClearKey license request payload is not recognized by the license server Feb 24, 2022
@dsilhavy
Copy link
Collaborator

@msanmart-akamai We need more information here:

  1. Which MPD are you testing with
  2. What is the payload you are seeing
  3. What is the parsing error and can you point out the potential mistake in the payload?

@msanmart-akamai
Copy link
Author

Hi @dsilhavy , I added the MPD to the description in our mockup server. This MPD will be played just fine by the reference player because the server DO NOT parse the POST request payload.

@msanmart-akamai
Copy link
Author

I closed this issue by mistake. No idea how to reactivate it.

@dsilhavy
Copy link
Collaborator

Probably related to #3601

@msanmart-akamai Please check if #3894 solves your issue. It will be available in nightly soon: https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html

@msanmart-akamai
Copy link
Author

msanmart-akamai commented Feb 25, 2022

Thanks, I will try it.

@msanmart-akamai
Copy link
Author

The problem was fixed with #3894. So I am closing this ticket. I assume the fix will be available in the next release.
Thank you for your quick help.

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

No branches or pull requests

2 participants