-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
#EXT-X-KEY URI value parsing assumes b64 PRO value for PlayReady, causing errors when those assumptions are not met #6574
Comments
Discussion begun on separate issue here: #6005 (comment) |
Callouts from @robwalch on details of solution from prior thread:
|
Workaround for folks who are encountering this issue before fix is merged and released: Use a |
I need to go back on those statements after better understanding the issue.
The URI for a KEY tag with KEYFORMAT com.microsoft.playready is:
|
Given that this works as expected, are you still expecting the enhancement mentioned above?
|
What version of Hls.js are you using?
1.5.13
What browser (including version) are you using?
Edge 126.0.0.0
What OS (including version) are you using?
Windows 11 Home
Test stream
(none shareable publicly, but available on request)
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
EXT-X-KEY
URI
value that is a spec-compliant, b64 encoded PSSH for PlayReadyinitData
provided to EME'sgetRequest()
is a PSSH wrapping another PSSHExpected behaviour
Playback should not fail due to this, as the expected
URI
value is not well-defined from any formal specification.If the PSSH for PlayReady is available via the init segment, playback should succeed.
hls.js should account for more plausible permutations of b64-encoded values, such as the case described in the example steps to reproduce (a full pssh).
What actually happened?
DRM playback failed due to trying to use the (bad) generated PSSH value from the EXT-X-KEY URI value in a manner that never retried/succeeded with the valid PSSH that would be signaled from EME via the
MediaEncryptedEvent
(of type'message'
).Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: