- java.lang.Object
-
- dev.onvoid.webrtc.media.audio.AudioOptions
-
public class AudioOptions extends Object
Audio options to control AudioTracks.
-
-
Field Summary
Fields Modifier and Type Field Description booleanautoGainControlAutomatic gain control is often desirable on the input signal recorded by the microphone.booleanechoCancellationWhen one or more audio streams is being played in the processes of various microphones, it is often desirable to attempt to remove the sound being played from the input signals recorded by the microphones.booleannoiseSuppressionNoise suppression is often desirable on the input signal recorded by the microphone.
-
Constructor Summary
Constructors Constructor Description AudioOptions()
-
-
-
Field Detail
-
echoCancellation
public boolean echoCancellation
When one or more audio streams is being played in the processes of various microphones, it is often desirable to attempt to remove the sound being played from the input signals recorded by the microphones. This is referred to as echo cancellation. There are cases where it is not needed and it is desirable to turn it off so that no audio artifacts are introduced. This allows applications to control this behavior.
-
autoGainControl
public boolean autoGainControl
Automatic gain control is often desirable on the input signal recorded by the microphone. There are cases where it is not needed and it is desirable to turn it off so that the audio is not altered. This allows applications to control this behavior.
-
noiseSuppression
public boolean noiseSuppression
Noise suppression is often desirable on the input signal recorded by the microphone. There are cases where it is not needed and it is desirable to turn it off so that the audio is not altered. This allows applications to control this behavior.
-
-