> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# toggleEchoCancellation

> Toggles echo cancellation.

```ts
toggleEchoCancellation(): Promise<void>
```

Toggles echo cancellation. Exits studio mode if active.

## **Returns**

`Promise<void>`

## **Examples**

```ts
await selfParticipant.toggleEchoCancellation();
```