mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-27 17:56:23 +03:00
aca343bf2c
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 #1391 Change-Id: Ied4a27dd8a1ade43209bcf07f21f0c9b31c2693c