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

# defaultVideoConstraints

> Default video track constraints applied when video is enabled without explicit constraints.

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

Default video track constraints applied when video is enabled without explicit constraints.

## **Parameters**

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

## **Examples**

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

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