-
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
Persistent licenses in 2.6.8 #2560
Comments
Hello, First, as you said, in order to obtain persistent license you need to setup the sessionType when requesting the license.
See for example "Unified Streaming (Widevine, persistent)" source configuration in dash-if-reference-player sample:
Once you got the persistent license, you need to store the MediaKeySession ID.
Please have a look at dash-if-reference-player to see an example. |
Ah, got it, so, it's not out of the box i.e. you can't just reference the dash.js and expect this to work. You need to do some work to make it happen. Thank you very much for your response! |
Works like a charm. Thank you @bbert ! |
After testing and look your sample, should be |
Hello all,
Do I understand correctly that out of the box the player can now handle persistent licenses issued for Widevine DRM protected content and the way it works is you setup the player, you pass the persistent-license as a sessionType and you deliver a persistent license. Then, if you don't refresh the tab, don't closer the browser, but simply do attachSource to load another stream, you can be sure that a persistent license will be used when the stream it was issued for will be loaded again.
I tried doing so, but I still see the player requesting the license even though I don't refresh the page and simply do attachSource and pass the URL to the MPEG-DASH manifest I already acquire a persistent license for.
Please, let me know if my understanding is incorrect.
Thank you,
BR
The text was updated successfully, but these errors were encountered: