Media Capture and Streams
The OverconstrainedError() constructor
creates a new OverconstrainedError object which 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.
Syntax
new OverconstrainedError()
Parameters
constraint- : The constraint that was not satisfied.
message- : Text for the error's
messageproperty. Defaults to an empty string.
- : Text for the error's
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
