Get to know MDN better
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.
DOMException OverconstrainedErrorCreates a new OverconstrainedError object.
Also inherits properties from its parent interface, DOMException.
OverconstrainedError.constraint Read onlyReturns the constraint that was supplied in the constructor, meaning the constraint that was not satisfied.
Also inherits methods from its parent interface, DOMException.
| Media Capture and Streams # overconstrainederror-interface |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Dec 17, 2023 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.