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

createMediaKeys()

Parameters

None.

Return value

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeysystemaccess-createmediakeys

Browser compatibility

BCD tables only load in the browser