-
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
Widevine persistence license on google chrome desktop #1599
Comments
dash.js communicates with the DRM functionality in the browser, as defined by the Encrypted Media Extensions specification. It is the browser that performs all DRM-related activities, with dash.js simply being the messenger that provides it DRM-relevant data as input. Therefore, the usage of persistent licenses is up to the browser's DRM implementation. I agree with your statement that Chrome on desktop does not currently support persistent Widevine licenses. I am not aware of any workaround - it is not possible to use persistent licenses in Chrome desktop.
|
I think Chrome on ChromeOS also supports persistent licenses. |
I'm just doing some research about this. Neither Chrome desktop of Android support the persistent license option in fact it triggers an error. It has to be set as temporary I believe. I will create a ticket in regards to local playback support for offline usage preparing for persistence support. |
I do not think that this is a missing feature. As Chrome Browser on Windows/Mac/Android is not Widevine L1 approved, I think it is more about security. In my opinion the main use case for license persisting is downloading content for offline playback later on. As this is not a case for browsers, there is no need for implementing it right now. |
@bwidtmann I have people asking about it, they've been insistent on offline support. Widevine Classic has a downloads and persistent license feature which I have implemented but that only works on older Safari and IE 11 now. Although more so for Widevine Modular in ExoPlayer. There is no such thing out of the box there either. I have had to duplicate the session manager in exoplayer to flag offline persistence keys, where you have to store the returned key id to reload later. That works but there is no working caching or downloads feature either. FairPlay v3 has just enabled downloads and persistent license support though. |
Downloading content for offline playback is actually supported by Shaka Player (I believe it saves in IndexedDB). |
@sandersaares yes I mentioned above hence this ticket. It's parsing the manifest and downloading all content into an IndexedDB. But no persistent license support makes it useless. I believe it may be preparing for it. |
that's interesting. I had always in my mind that browser datastores are limited to 4-5 Megabytes. So storing HD movies (3-4 Gigabytes) was quite unrealistic. @danrossi you are right - in case the content provider needs to protect the content with DRM. I would love to see the DRM vendors extending their support for persistent license - good luck :-) |
@bwidtmann sorry mate I made a separate ticket here The guts of it is here https://github.com/google/shaka-player/blob/master/lib/offline/storage.js I heard something about FairPlay Dash for Netflix supports persistent keys. When they start offering it, it will be a "light" version with only online keys. |
You are actually allowed to save much more (gigabits) you just have to ask for permission or use the temporary storage
So depending on how much available space you have the more you can use |
Closing issue. Persistent licenses are supported in dash.js thanks to PR #2451. |
Hi,
We are using dashjs with widevine DRM on chrome desktop browser.
We want to use persistent-license for widevine DRM on chrome desktop browser.
I think chrome desktop browser does not support persistent license.
Does dashjs support persistent license on chrome desktop browser for widevine DRM?
The text was updated successfully, but these errors were encountered: