AudioCaptureOptions class
Options used when creating a LocalAudioTrack.
- Inheritance
-
- Object
- LocalTrackOptions
- AudioCaptureOptions
Constructors
Properties
- autoGainControl → bool
-
Attempt to use autoGainControl option (if supported by the platform)
See https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints/autoGainControl
Defaults to true.
final
- deviceId → String?
-
The deviceId of the capture device to use.
Available deviceIds can be obtained through
flutter_webrtc
:final - echoCancellation → bool
-
Attempt to use echoCancellation option (if supported by the platform)
See https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings/echoCancellation
Defaults to true.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- highPassFilter → bool
-
Attempt to use highPassFilter options (if supported by the platform)
Defaults to false.
final
- noiseSuppression → bool
-
Attempt to use noiseSuppression option (if supported by the platform)
See https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings/noiseSuppression
Defaults to true.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- typingNoiseDetection → bool
-
Attempt to use typingNoiseDetection option (if supported by the platform)
Defaults to true.
final
Methods
-
copyWith(
{String? deviceId, bool? noiseSuppression, bool? echoCancellation, bool? autoGainControl, bool? highPassFilter, bool? typingNoiseDetection}) → AudioCaptureOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMediaConstraintsMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited