Skip to content
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 offlining DRM keys #2094

Closed
ram992 opened this issue Nov 22, 2016 · 2 comments
Closed

Support offlining DRM keys #2094

ram992 opened this issue Nov 22, 2016 · 2 comments
Assignees

Comments

@ram992
Copy link

ram992 commented Nov 22, 2016

Hello, I have implemented offline DRM management, by creating an offlineDrm SessionManager from streamingDrm SessionManager. I am sorting keys and then restoring them with mediaDrm.restoreKeys

But my implementation works fine if I am doing it with single file at a time.

Like creating DRM session fetching keys, storing them. Then in the offline mode I will just pick the keys
And start playback.

My question is is there any way to download the keys store keysetID for them before downloading the actual video and storing all in a single folder.

I have tried it but every time I try to play offline the player give me a DRM session exception

Can you tell me if there is any need to create player instance when downloading keys.

@ojw28 ojw28 changed the title Offline DRM keys Managment Support offlining DRM keys Nov 24, 2016
@ojw28
Copy link
Contributor

ojw28 commented Nov 24, 2016

There's no real need to create a player to obtain offline DRM keys, but the implementation for actually doing this isn't trivial. It's something we intend to support in the future. Marking this as an enhancement.

@ojw28
Copy link
Contributor

ojw28 commented Nov 24, 2016

Actually, this is already tracked by #876. Closing this one.

@ojw28 ojw28 closed this as completed Nov 24, 2016
@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants