OverconstrainedError: constraint property
The constraint read-only property of the
OverconstrainedError interface returns the constraint that was supplied
in the constructor, meaning the constraint that was not satisfied.
Value
A string.
Specifications
| Specification |
|---|
| Media Capture and Streams # dom-overconstrainederror-constraint |
Browser compatibility
| desktop | mobile | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
constraint | |||||||||||