Class: shaka.polyfill.PatchedMediaKeysApple.MediaKeySystemAccess

Constructor

new MediaKeySystemAccess(keySystem, supportedConfigurationsnon-null)

An implementation of MediaKeySystemAccess.
Parameters:
Name Type Description
keySystem string
supportedConfigurations Array.<!MediaKeySystemConfiguration>
Implements:
  • MediaKeySystemAccess
Source:
Throws:
if the key system is not supported.
Type
Error

Members

(private, non-null) configuration_ :MediaKeySystemConfiguration

Type:
  • MediaKeySystemConfiguration
Source:

keySystem :string

Type:
  • string
Source:

Methods

(private) checkConfig_(cfg) → (nullable) {MediaKeySystemConfiguration}

Check a single config for MediaKeySystemAccess.
Parameters:
Name Type Description
cfg MediaKeySystemConfiguration The requested config.
Source:
Returns:
A matching config we can support, or null if the input is not supportable.
Type
MediaKeySystemConfiguration

getConfiguration()

Source: