Package com.twilio.video
Class AudioOptions.Builder
- java.lang.Object
-
- com.twilio.video.AudioOptions.Builder
-
- Enclosing class:
- AudioOptions
public static final class AudioOptions.Builder extends java.lang.Object
Builds newAudioOptions
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioOptions.Builder
audioJitterBufferFastAccelerate(boolean audioJitterBufferFastAccelerate)
Enables fast accelerate mode of jitter buffer.AudioOptions.Builder
autoGainControl(boolean autoGainControl)
Adjust the sensitivity of the local mic dynamically.AudioOptions
build()
AudioOptions.Builder
echoCancellation(boolean echoCancellation)
Attempts to filter away the output signal from later inbound pickup.AudioOptions.Builder
highpassFilter(boolean highpassFilter)
Remove background noise of lower frequencies.AudioOptions.Builder
noiseSuppression(boolean noiseSuppression)
Filter out background noise.AudioOptions.Builder
stereoSwapping(boolean stereoSwapping)
Swap left and right audio channels.AudioOptions.Builder
typingDetection(boolean typingDetection)
Enables typing detection.
-
-
-
Method Detail
-
echoCancellation
@NonNull public AudioOptions.Builder echoCancellation(boolean echoCancellation)
Attempts to filter away the output signal from later inbound pickup. Defaults to `true`.
-
autoGainControl
@NonNull public AudioOptions.Builder autoGainControl(boolean autoGainControl)
Adjust the sensitivity of the local mic dynamically. Defaults to `true`.
-
noiseSuppression
@NonNull public AudioOptions.Builder noiseSuppression(boolean noiseSuppression)
Filter out background noise. Defaults to `true`.
-
highpassFilter
@NonNull public AudioOptions.Builder highpassFilter(boolean highpassFilter)
Remove background noise of lower frequencies. Defaults to `true`.
-
stereoSwapping
@NonNull public AudioOptions.Builder stereoSwapping(boolean stereoSwapping)
Swap left and right audio channels. Defaults to `false`.
-
audioJitterBufferFastAccelerate
@NonNull public AudioOptions.Builder audioJitterBufferFastAccelerate(boolean audioJitterBufferFastAccelerate)
Enables fast accelerate mode of jitter buffer. Defaults to `false`.
-
typingDetection
@NonNull public AudioOptions.Builder typingDetection(boolean typingDetection)
Enables typing detection. Defaults to `true`.
-
build
@NonNull public AudioOptions build()
-
-