OverconstrainedError
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
TheOverconstrainedError interface of theMedia Capture and Streams API indicates that the set of desired capabilities for the currentMediaStreamTrack 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.
In this article
Constructor
OverconstrainedError()Creates a new
OverconstrainedErrorobject.
Instance properties
Also inherits properties from its parent interface,DOMException.
OverconstrainedError.constraintRead onlyReturns the constraint that was supplied in the constructor, meaning the constraint that was not satisfied.
Instance methods
Also inherits methods from its parent interface,DOMException.
Specifications
| Specification |
|---|
| Media Capture and Streams> # overconstrainederror-interface> |