AudioProcessingOptions class
Runtime voice-processing options for a LocalAudioTrack.
These values update the native local audio source without restarting capture. When the track is being sent, the native WebRTC sender reapplies the updated processing config. The effective audio processing module config is shared by the native voice engine/channel, so conflicting updates from multiple local tracks are not isolated per track.
- Implementers
Constructors
- AudioProcessingOptions({required bool echoCancellation, required bool noiseSuppression, required bool autoGainControl, required bool highPassFilter, AudioProcessingMode echoCancellationMode = AudioProcessingMode.automatic, AudioProcessingMode noiseSuppressionMode = AudioProcessingMode.automatic, AudioProcessingMode autoGainControlMode = AudioProcessingMode.automatic, AudioProcessingMode highPassFilterMode = AudioProcessingMode.automatic})
-
const
- AudioProcessingOptions.communication()
-
const
- AudioProcessingOptions.raw()
-
const
Properties
- autoGainControl → bool
-
final
- autoGainControlMode → AudioProcessingMode
-
final
- echoCancellation → bool
-
final
- echoCancellationMode → AudioProcessingMode
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highPassFilter → bool
-
final
- highPassFilterMode → AudioProcessingMode
-
final
- noiseSuppression → bool
-
final
- noiseSuppressionMode → AudioProcessingMode
-
final
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited