This feature is not Baseline because it does not work in some of the most widely-used browsers.
The OverconstrainedError interface of the Media Capture and Streams API indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack, it is muted until either the current constraints can be established or until satisfiable constraints are applied.
OverconstrainedError()Creates a new OverconstrainedError object.
Also inherits properties from its parent interface, DOMException.
OverconstrainedError.constraint Read only
Returns the constraint that was supplied in the constructor, meaning the constraint that was not satisfied.
Also inherits methods from its parent interface, DOMException.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
OverconstrainedError |
63 | 79 | No | 50 | 11 | 63 | No | 46 | 11 | 8.0 | 63 | 11 |
OverconstrainedError |
63 | 79 | No | 50 | 11 | 63 | No | 46 | 11 | 8.0 | 63 | 11 |
constraint |
63 | 79 | No | 50 | 11.1 | 63 | No | 46 | 11.3 | 8.0 | 63 | 11.3 |
© 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/OverconstrainedError