This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
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:
initDataTypes Read onlyReturns a list of supported initialization data type names. An initialization data type is a string indicating the format of the initialization data.
audioCapabilities Read onlyReturns a list of supported audio type and capability pairs.
videoCapabilities Read onlyReturns a list of supported video type and capability pairs.
distinctiveIdentifier Read onlyIndicates whether a persistent distinctive identifier is required.
persistentState Read onlyIndicates whether the ability to persist state is required.
getConfiguration()
None.
An object.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
getConfiguration |
42 | 13 | 43Before Firefox 50, the returned object has neither adistinctiveIdentifier nor a persistentState property. |
29 | 12.1 | 42 | 43Before Firefox for Android 50, the returned object has neither adistinctiveIdentifier nor a persistentState property. |
29 | 12.2 | 4.0 | 43 | 12.2 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess/getConfiguration