MediaTrackSettings extension type

The MediaTrackSettings dictionary is used to return the current values configured for each of a MediaStreamTrack's settings. These values will adhere as closely as possible to any constraints previously described using a MediaTrackConstraints object and set using MediaStreamTrack.applyConstraints, and will adhere to the default constraints for any properties whose constraints haven't been changed, or whose customized constraints couldn't be matched.

To learn more about how constraints and settings work, see Capabilities, constraints, and settings.

on
Implemented types

Constructors

MediaTrackSettings({int width, int height, num aspectRatio, num frameRate, String facingMode, String resizeMode, int sampleRate, int sampleSize, bool echoCancellation, bool autoGainControl, bool noiseSuppression, num latency, int channelCount, String deviceId, String groupId})
factory

Properties

aspectRatio num
getter/setter pair
autoGainControl bool
getter/setter pair
channelCount int
getter/setter pair
deviceId String
getter/setter pair
echoCancellation bool
getter/setter pair
facingMode String
getter/setter pair
frameRate num
getter/setter pair
groupId String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
getter/setter pair
latency num
getter/setter pair
noiseSuppression bool
getter/setter pair
resizeMode String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
getter/setter pair
sampleSize int
getter/setter pair
width int
getter/setter pair

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