Package com.twilio.voice
Class AudioOptions
java.lang.Object
com.twilio.voice.AudioOptions
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.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the audio receiver jitter buffer (NetEq) max capacity in number of packets.intReturns the audio receiver jitter buffer (NetEq) minimum target delay in milliseconds.booleanReturns whether automatic gain control is enabled.booleanReturns whether echo cancellation is enabled.booleanReturns whether removal of background noise of lower frequencies is enabled.booleanReturns whether noise suppression is enabled.toString()
-
Method Details
-
toString
-
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
-