-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 protection data object getting filtered out #2769
Comments
Hi, indeed this code has been removed by mistake. Maybe a rebase issue, don't remember. |
See PR #2770 |
Thanks for looking at this so quickly! |
@JohnIball, please, whenever you have time for testing, may you confirm #PR2770 solves your problem? Thanks! |
@epiclabsDASH yes, I tested the change and it's working fine now. |
Great, many thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
MPD file: mpd.txt
Dash.js version: 2.6.8 and 2.6.9
Browser name/version: Chrome 68, Firefox
OS name/version: MacOS 10.12.6
Steps to reproduce
We see this attempting to play VOD using our player (I'd have to provide more details of stream/license privately).
Observed behaviour
This works for us up to 2.6.7 but fails in later versions.
Note that our content pipeline produces MPDs that include protection data info for Widevine, PlayReady and ClearKey. This is because we have different platforms that use different Key Systems.
From 2.6.8 the clearKey key isn't used and WideVine is selected instead, so video doesn't play as the content is clearKey encrypted.
Previously (from #2318) there was a check in ProtectionKeyController.getSupportedKeySystemsFromContentProtection to see if the initData for a key system existed or not. This was removed in 2.6.8 as a result of PR #2451 (this diff). Putting the check back in fixes the problem for us.
Does anyone know why this bit of code was removed? It doesn’t seem directly related to the work in the PR.
Console output
The text was updated successfully, but these errors were encountered: