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
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
getConfiguration |
42 |
13 |
43 |
No |
Yes |
12.1 |
43 |
42 |
43 |
Yes |
12.2 |
4.0 |
© 2005–2021 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