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
Methods
(private) checkConfig_(cfg) → (nullable) {MediaKeySystemConfiguration}
Check a single config for MediaKeySystemAccess.
Parameters:
Name | Type | Description |
---|---|---|
cfg |
MediaKeySystemConfiguration | The requested config. |
Returns:
A matching config we can support, or
null if the input is not supportable.
- Type
- MediaKeySystemConfiguration