Constructor
new EmeEncryptionSchemePolyfillMediaKeySystemAccess(mksanon-null, videoScheme, audioScheme)
Parameters:
Name | Type | Description |
---|---|---|
mksa |
MediaKeySystemAccess | A native MediaKeySystemAccess instance to wrap. |
videoScheme |
string | undefined | The encryption scheme to add to the configuration for video. |
audioScheme |
string | undefined | The encryption scheme to add to the configuration for audio. |
- Implements:
- MediaKeySystemAccess
- Source:
- See:
Members
audioScheme_ :string
Type:
- string
keySystem :string
Type:
- string
mksa_ :MediaKeySystemAccess
Type:
- MediaKeySystemAccess
videoScheme_ :string
Type:
- string
Methods
createMediaKeys() → {Promise<!MediaKeys>}
Returns:
A passthrough of the native MediaKeys object
- Type
- Promise<!MediaKeys>
getConfiguration() → {MediaKeySystemConfiguration}
Returns:
A MediaKeys config with
encryptionScheme fields added
- Type
- MediaKeySystemConfiguration