Table of Contents

Class OverconstrainedError

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

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.

[Value("OverconstrainedError")]
public class OverconstrainedError : DOMException
Inheritance
OverconstrainedError
Inherited Members

Remarks

Constructors

OverconstrainedError()

public OverconstrainedError()

OverconstrainedError(string, string)

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.

public OverconstrainedError(string constraint, string message = null)

Parameters

constraint string
message string

Remarks

Properties

Constraint

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("constraint")]
public string Constraint { get; }

Property Value

string

A string.

Remarks