MediaKeySystemAccess: getConfiguration() method
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The getConfiguration() method of the MediaKeySystemAccess interface returns an object with the supported combination of the following configuration options:
initDataTypesRead only-
Returns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data.
audioCapabilitiesRead only-
Returns a list of supported audio type and capability pairs.
videoCapabilitiesRead only-
Returns a list of supported video type and capability pairs.
distinctiveIdentifierRead only-
Indicates whether a persistent distinctive identifier is required.
persistentStateRead only-
Indicates whether the ability to persist state is required.
Syntax
js
getConfiguration()
Parameters
None.
Return value
An object.
Specifications
| Specification |
|---|
| Encrypted Media Extensions # dom-mediakeysystemaccess-getconfiguration |
Browser compatibility
BCD tables only load in the browser