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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the audio receiver jitter buffer (NetEq) max capacity in number of packets.int
Returns the audio receiver jitter buffer (NetEq) minimum target delay in milliseconds.boolean
Returns whether automatic gain control is enabled.boolean
Returns whether echo cancellation is enabled.boolean
Returns whether removal of background noise of lower frequencies is enabled.boolean
Returns 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
-