-
Notifications
You must be signed in to change notification settings - Fork 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
Support widevine DRM Key Rotation #1298
Comments
We don't support key rotation yet, but it's on our radar. |
Hello, |
+1 |
Any updates? Can you provide an approximate date when keys rotation may be available in Exo2? |
Does anyone have test streams available, that we can easily make use of (i.e. they should not be geo-restricted or require authentication, and the license server should always issue licenses)? |
What about streams from Axinom? See: https://github.com/Axinom/dash-test-vectors I've checked the current version of Exo2 on "v7-MultiDRM-MultiKey" and "v7-MultiDRM-MultiKey-MultiPeriod", in particular: The playback of the last one works until Exo is about to enter 2nd period, then fails with: |
That's not key rotation (which would be within a single period). Although that does separately sound like a problem. |
@ojw28 We have key rotation in our streams, we can provide them to you for testing in a private message. |
@ojw28 So you're saying that this particular case (each period encrypted with a different key) is expected to work in Exo2? |
Key rotation should work in |
Are you setting |
@ojw28 Thank you for answering. It is specified when instantiating DefaultDrmSessionManager. |
There shouldn't be any flickering. You'd need to provide concrete reproduction steps (and probably a sample stream) for us to help work out why. |
@ojw28 Thank you for answering! I will send a sample stream by email. |
@ojw28 I sent an e-mail to [email protected]. |
I'm able to reproduce. I'm not sure why it's happening though, unfortunately. I would guess there's something wrong with the way the content has been prepared, or how the license policy is configured. Or at least, that there's something in these areas that our implementation is unhappy with. For comparison, here's a key rotation sample stream we have that plays fine in the demo app. One option could be for you to spent a bit of time working out what's different:
|
Closing this issue because the feature is implemented now. @wvpaf - Do we provide any tools/diagnostics/guidance for producing content in which the keys rotate? |
@ojw28 Thank you for answering! "Sintel - 3 minutes key rotation" 12-07 20:47:58.482 26068-26068/com.google.android.exoplayer2.demo E/EventLogger: internalError [364.05, audioTrackUnderrun [49248, 256, 483]] adb logcat log If you know something, please contact us. |
Heh, I looked more closely and see it too. It does seem to be far less severe than when using your test stream though, so I'm not sure whether there's something additional broken in that case. Re-opening this issue to work out what's going wrong for the sample I ref'd above in any case, thanks! |
The reason for the black flicker is that although |
Hello,
We are working with Live TV (DASH) ABR packaging. The packager creates the MPD manifest while continuously rotating the Widevine(DRM) key. When I play the stream using ExoPlayer, the video does not play. The same video plays on Shaka Player.
If the DRM key policy is changed to static, then ExoPlayer (and Shaka Player) plays the stream.
Please let me know if there is a solution to this issue.
Thanks.
-Asghar
The text was updated successfully, but these errors were encountered: