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

# defaultAudioConstraints

> Default audio track constraints applied when no explicit constraints are provided.

```ts
get defaultAudioConstraints(): MediaTrackConstraints | undefined
set defaultAudioConstraints(value: MediaTrackConstraints | undefined)
```

Default audio track constraints applied when no explicit constraints are provided.

## **Parameters**

Default constraints applied when capturing audio input. Pass `undefined` to clear. See [`MediaTrackConstraints`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints).

## **Examples**

```ts
// Read
console.log(client.preferences.defaultAudioConstraints);

// Write
client.preferences.defaultAudioConstraints = { echoCancellation: true };
```