MediaTrackSettings class

The 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 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.

Available Extensions
Annotations
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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