Skip to content

Disable Echo Cancellation ​

Disables echo cancellation on an active call.

Only do this when the input cannot produce echo in the first place — a headset, or a feed that has already been echo-cancelled upstream. On a device using open speakers, disabling this will send the remote party's own voice back to them.

Signature ​

disableEchoCancellation(callId: string): Promise<void>

Parameters ​

ParameterTypeRequiredDescription
callIdstringYesIdentifier of the active call

Return Type ​

Returns a Promise that resolves once the constraint has been applied.

Usage Example ​

const callId = 'callId';
await client.disableEchoCancellation(callId);

Errors ​

Error TypeError CodeDescription
INTERNAL_ERRORmedia:error:track_not_foundNo active call or no outgoing audio track found for provided callId
UNKNOWN_ERRORN/AUnexpected failure

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

Notes ​

  • Web only. Android and iOS do not expose echo cancellation as a call action
  • Currently marked experimental
  • Requires an active call — call this once media is established
  • Changing one audio processing constraint preserves the other two

Built with VitePress.