Class AudioOptions

java.lang.Object
com.twilio.voice.AudioOptions

public class AudioOptions extends Object
Audio options represent the audio processing operations that are performed on the local audio track/source. These options can be set as a part of ConnectOptions when making outbound calls and/or as a part of AcceptOptions when receiving incoming calls.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isEchoCancellationEnabled

      public boolean isEchoCancellationEnabled()
      Returns whether echo cancellation is enabled.
      Returns:
      boolean
    • isAutoGainControlEnabled

      public boolean isAutoGainControlEnabled()
      Returns whether automatic gain control is enabled.
      Returns:
      boolean
    • isNoiseSuppressionEnabled

      public boolean isNoiseSuppressionEnabled()
      Returns whether noise suppression is enabled.
      Returns:
      boolean
    • isHighpassFilterEnabled

      public boolean isHighpassFilterEnabled()
      Returns whether removal of background noise of lower frequencies is enabled.
      Returns:
      boolean
    • getAudioJitterBufferMaxPackets

      public int getAudioJitterBufferMaxPackets()
      Returns the audio receiver jitter buffer (NetEq) max capacity in number of packets.
      Returns:
      int
    • getAudioJitterBufferMinDelayMs

      public int getAudioJitterBufferMinDelayMs()
      Returns the audio receiver jitter buffer (NetEq) minimum target delay in milliseconds.
      Returns:
      int
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object