MediaKeySystemAccess: createMediaKeys() method

The MediaKeySystemAccess.createMediaKeys() method returns a Promise that resolves to a new MediaKeys object.

Syntax

js

createMediaKeys()

Parameters

None.

Return value

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeysystemaccess-createmediakeys

Browser compatibility

BCD tables only load in the browser