forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow reuse of persistent license sessions (shaka-project#4461)
Add capability to re-use persistent license sessions across sessions. DrmEngine will now always: - try to start stored persistent sessions before trying to fetch a license, as-to be able to check if all needed keys are already loaded. - ask for a new license when the persistent session doesn't have the needed keys for playback, Given the flag `persistentSessionOnlinePlayback` is true, DrmEngine: - won't remove the persistent session from the device at the end of the playback, - won't throw an error when the persistent session isn't found on the device, For now, it needs Shaka's users to persist session information by themselves (localStorage, IndexDB, ...) before giving it back for the next session. Still, it lays foundation to develop the feature to fully handling it on Shaka's side. Related to shaka-project#1956
- Loading branch information
1 parent
6937325
commit cc97da1
Showing
10 changed files
with
488 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.