W3cubDocs

/Haxe JavaScript

MediaKeySystemAccess

package js.html.eme

Available on js

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.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/eme/MediaKeySystemAccess.html