MediaStreamTrack.onoverconstrained

The MediaStreamTrack.onoverconstrained event handler is a property called when the overconstrained event is received. Such an event is sent when the track is again able to send data.

Syntax

track.onoverconstrained = function;

Values

  • function is the name of a user-defined function, without the () suffix or any parameters, or an anonymous function declaration, such as function(event) {...}. An event handler always has one single parameter, containing the event, here of type MediaStreamErrorEvent.

Example

dc.onoverconstrained = function(ev) { alert("overconstrained event detected!"); };

Specifications

Specification Status Comment
Media Capture and Streams
The definition of 'MediaStreamTrack.onoverconstrained' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes12 Yes No Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes ? ? ? Yes

See also

Document Tags and Contributors

Contributors to this page: fscholz, libbymc, teoli
Last updated by: fscholz,