-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Getting drm info from player #272
Comments
For protected content, you provide a callback to See https://shaka-player-demo.appspot.com/docs/tutorial-player.html, specifically the "Protected Content" section for an example. |
@tdrews Thank you for the response. |
I see. So you want to support both Widevine and Playready without your application explicitly choosing one, but you want to know which one the library chose? Is this right? |
Yes, that is correct. |
Well, there's no explicit mechanism at the moment. However, on Chrome the key system will be Widevine, and on IE the key system will be Playready; you could determine this via |
@tdrews Yes, that will work for an interim solution. Thank you so much! |
We will consider exposing a key-system ID after 2.0. If there are more people interested in this feature, please speak up here and let us know. |
@tdrews By checking https://developers.google.com/cast/docs/media#delivery-methods-and-adaptive-streaming-protocols |
Good point. I'm going to bump this up to a v2.0.0 goal. |
Hello,
I am trying to get drm info, but since EmeManager is a private property in player (https://github.com/google/shaka-player/blob/c103cf70d8fde2363d6ebfd15ab1142cd5e3f0cb/lib/player/player.js#L95), it is not possible to get the drm info.
Can I get some suggestions?
Thank you!
The text was updated successfully, but these errors were encountered: