MediaKeySystemAccess.getConfiguration()

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The MediaKeySystemAccess.getConfiguration() method returns an object with the supported combination of the following configuration options:

initDataTypes Read only

Returns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data.

audioCapabilities Read only

Returns a list of supported audio type and capability pairs.

videoCapabilities Read only

Returns a list of supported video type and capability pairs.

distinctiveIdentifier Read only

Indicates whether a persistent distinctive identifier is required.

persistentState Read only

Indicates whether the ability to persist state is required.

Syntax

var mediaKeySystemConfiguration = mediaKeySystemAccess.getConfiguration();

Specifications

Specification
Encrypted Media Extensions
# dom-mediakeysystemaccess-getconfiguration

Browser compatibility

BCD tables only load in the browser