Class AudioOptions.Builder

java.lang.Object
com.twilio.video.AudioOptions.Builder
Enclosing class:
AudioOptions

public static final class AudioOptions.Builder extends Object
Builds new AudioOptions.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • 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()