question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing decryption key after succesful license request when using persistentStateRequired

See original GitHub issue

Have you read the FAQ and checked for duplicate open issues?: Yes

What version of Shaka Player are you using?: 2.4.3

Can you reproduce the issue with our latest release version?: Yes

Can you reproduce the issue with the latest code from master?: Yes

Are you using the demo app or your own custom app?: Demo

If custom app, can you reproduce the issue using our demo app?:

What browser and OS are you using?: Firefox 61.0.2 and Chrome 68.0.3440.106 on Mac OS High Sierra

What are the manifest and license server URIs?: Not able to share at the moment since I don’t own the rights to the affected assets. I will try to find a test asset that reproduces the issue.

What did you do? Play a Widevine DRM protected video multiple times. Set the persistentStateRequired option to true in order to allow device registration.

What did you expect to happen? Playback to succeed every time

What actually happened? Playback fails randomly, about 1 out of 40 times (i.e. if you refresh the page multiple times). When playback fails, the license request returns with a 200 status, but the browser fails to decrypt segments with the newly acquired key.

On Chrome you can see the following in chrome://media-internals/ :

chrome error Note the “no key for key ID” entry that is shown after “key added, resuming decode”

On Firefox, segment decoding fails:

firefox error

I realize that this is most likely a Widevine, rather than a Shaka issue, but there’s no other Widevine-related forum that I have access to. I’m hoping someone can point me to documentation about a known-issue or perhaps suggest a workaround. Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:28 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
dzianis-dashkevich-oldcommented, Oct 3, 2018

hello, have you received any updates on this issue?

1reaction
TheModMakercommented, Nov 7, 2018

From the Chrome issue:

We missed the M71 branch cut to land the CDM with this change. This change will be in M72 Chrome.

I don’t have a specific CDM version where the fix appears.

Would it also be necessary to open a ticket with Firefox about this, or do they pick up CDM updates regularly? Thanks

I am not familiar with Firefox’s CDM updates. It was entirely a fix in the CDM, so Firefox only needs to update to get it. But you should talk with them to determine when the fix will appear.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing decryption key after succesful license request when ...
When playback fails, the license request returns with a 200 status, but the browser fails to decrypt segments with the newly acquired key....
Read more >
1505563 - [Widevine] Missing decryption key after succesful ...
When playback fails, the license request returns with a 200 status, but the browser fails to decrypt segments with the newly acquired key....
Read more >
Resolve Missing Key Issues - VMware Docs
Retrieve the key ID by using the Managed Object Browser (MOB) or the vSphere API. Retrieve the keyId from VirtualMachine.config.keyId.keyId.
Read more >
Encrypted Media Extensions - W3C
The API supports use cases ranging from simple clear key decryption to high value video (given an appropriate user agent implementation).
Read more >
Customer-supplied encryption keys | Cloud Storage
If you rewrite an object encrypted with a customer-supplied encryption key without supplying a key for encrypting the rewritten object, the following happens:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found