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
- aspectRatio ↔ double
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - autoGainControl ↔ bool
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - channelCount ↔ int
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - deviceId ↔ String
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - echoCancellation ↔ bool
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - facingMode ↔ String
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - frameRate ↔ double
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - groupId ↔ String
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - latency ↔ double
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - noiseSuppression ↔ bool
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - resizeMode ↔ String
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate ↔ int
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - sampleSize ↔ int
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
getter/setter pair - width ↔ int
-
Available on MediaTrackSettings, provided by the PropsMediaTrackSettings extension
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