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 also:

Variables

read onlykeySystem:String

Returns a DOMString identifying the key system being used.

Methods

createMediaKeys():Promise<MediaKeys>

Returns a Promise that resolves to a new MediaKeys object.

getConfiguration():MediaKeySystemConfiguration

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