Skip to content

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 ​

ParameterTypeRequiredDescription
callIdstringYesIdentifier of the active call

Return Type ​

Returns void when the operation completes. On Web, returns a Promise that resolves once noise suppression has been removed.

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 TypeError CodeDescription
INTERNAL_ERRORvoice:error:no_call_foundNo active call found for provided callId
INTERNAL_ERRORMedia-layer errorsMedia operation failed while disabling suppression
UNKNOWN_ERRORN/AUnexpected failure

For complete error reference and handling guidelines, see Error Reference.

Notes ​

  • Available on Android, iOS and Web
  • On Web this is currently marked experimental

Built with VitePress.