Disable Noise Suppression
Disables noise suppression on an active call leg.
Signature
// Callback version
fun disableNoiseSuppression(
callId: String,
callback: (Exception?) -> Unit
)
// Suspend version
suspend fun disableNoiseSuppression(
callId: String
)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
callId | string | Yes | Identifier of the active call |
Return Type
Returns void when the operation completes.
Usage Example
// Callback
client.disableNoiseSuppression("callId") { err ->
err?.let {
println("Error disabling noise suppression: $it")
} ?: println("Noise suppression successfully disabled")
}
// Coroutine
try {
client.disableNoiseSuppression("callId")
println("Noise suppression successfully disabled")
} catch (e: Error) {
println("Error disabling noise suppression: $e")
}
Errors
| Error Type | Error Code | Description |
|---|---|---|
INTERNAL_ERROR | voice:error:no_call_found | No active call found for provided callId |
INTERNAL_ERROR | Media-layer errors | Media operation failed while disabling suppression |
UNKNOWN_ERROR | N/A | Unexpected failure |
For complete error reference and handling guidelines, see Error Reference.
Notes
- This action is available on Android and iOS
- Web SDK does not currently expose noise suppression call actions
Related Actions
enableNoiseSuppression- Enable noise suppression for an active call
Related Events
onCallMediaError- Fired when media errors occur during a call