Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Question about enabling offline playback #443

Open
re-jim opened this issue Aug 31, 2018 · 1 comment
Open

Question about enabling offline playback #443

re-jim opened this issue Aug 31, 2018 · 1 comment
Labels
Milestone

Comments

@re-jim
Copy link

re-jim commented Aug 31, 2018

Assuming I'm using this asset and license server, respectively:
http://wvm.ezdrm.com/demo/stream.mpd
http://widevine-dash.ezdrm.com/proxy?pX=BF9CEB

Once I have what is needed to get playback, would there be any way to store pieces of information locally so that I can reuse this when offline, as long as the license hasn't yet expired, or would this be impossible by design? For example, if I were to capture the response from the license server, and use it a second time, would that work?

If this should theoretically work, what pieces of information would I need to store in order to enable this?

@tanalam
Copy link

tanalam commented Sep 3, 2018

Hi,
W3C EME spec does support persistence license. When you create session the type of the session should be of this type and it should work (given the underlying DRM/System has implemented this specification)


https://www.w3.org/TR/encrypted-media/#idl-def-MediaKeySessionType.persistent-license
persistent-license-
Sessions of this type can only be created if the configuration associated with the MediaKeySystemAccess object that created this object has a persistentState value of "required". The session must be loadable via its Session ID once update() is called successfully. A message of type "license-release" containing the record of license destruction will be generated when remove() is called until the record is acknowledged by a response passed to update().

@joeyparrish joeyparrish added this to the Backlog milestone Sep 8, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants