MediaKeySystemAccess.createMediaKeys()
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The MediaKeySystemAccess.createMediaKeys()
method returns a
Promise
that resolves to a new MediaKeys
object.
Syntax
var mediaKeys = await mediaKeySystemAccess.createMediaKeys();
Specifications
Specification |
---|
Encrypted Media Extensions # dom-mediakeysystemaccess-createmediakeys |
Browser compatibility
BCD tables only load in the browser