MediaKeySystemAccess

js.html.eme.MediaKeySystemAccess (extern class)

The MediaKeySystemAccess interface of the EncryptedMediaExtensions API provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess method.

Documentation MediaKeySystemAccess by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

keySystem: String

Returns a DOMString identifying the key system being used.


getConfiguration(): MediaKeySystemConfiguration

Returns a MediaKeySystemConfiguration object with the supported combination of configuration options.

Returns
MediaKeySystemConfiguration

createMediaKeys(): js.lib.Promise<MediaKeys>

Returns a Promise that resolves to a new MediaKeys object.

Returns
js.lib.Promise<MediaKeys>