MediaTrackConstraints extension type

The MediaTrackConstraints dictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed into MediaStreamTrack.applyConstraints to allow a script to establish a set of exact (required) values or ranges and/or preferred values or ranges of values for the track, and the most recently-requested set of custom constraints can be retrieved by calling MediaStreamTrack.getConstraints.

on
Implemented types

Constructors

MediaTrackConstraints({JSArray<MediaTrackConstraintSet> advanced})
factory

Properties

advanced JSArray<MediaTrackConstraintSet>
getter/setter pair
aspectRatio ConstrainDouble
getter/setter pairinherited
autoGainControl ConstrainBoolean
getter/setter pairinherited
channelCount ConstrainULong
getter/setter pairinherited
deviceId ConstrainDOMString
getter/setter pairinherited
echoCancellation ConstrainBoolean
getter/setter pairinherited
facingMode ConstrainDOMString
getter/setter pairinherited
frameRate ConstrainDouble
getter/setter pairinherited
groupId ConstrainDOMString
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
height ConstrainULong
getter/setter pairinherited
latency ConstrainDouble
getter/setter pairinherited
noiseSuppression ConstrainBoolean
getter/setter pairinherited
resizeMode ConstrainDOMString
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate ConstrainULong
getter/setter pairinherited
sampleSize ConstrainULong
getter/setter pairinherited
width ConstrainULong
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited