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(MediaCap): get mediaKeySystemAccess via decodingInfo
In StreamUtils, add a MediaCapabilitiesKeySystemConfiguration for each key system for the encrypted variant passed to the decodingInfo API, to get the mediaKeySystemAccess as a part of the decodingInfo results. We create a list of mediaDecodingConfigurations for each variant, and call decodingInfo() with each mediaDecodingConfiguration to get the mediaKeySystemAccess. Eventually, we'll use the mediaKeySystemAccess from the decodingInfo results to replace the call of navigator.requestMediaKeySystemAccess() in DrmEngine. That will be in the next CL. Also, adding MediaCapabilties polyfill with mediaKeysSystemAccess. Issue shaka-project#1391 Change-Id: Ied4a27dd8a1ade43209bcf07f21f0c9b31c2693c
- Loading branch information
1 parent
96e87c2
commit aca343b
Showing
6 changed files
with
304 additions
and
36 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
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.