> This page is for Browser SDK, version v4 (default).
> For other versions, use one of these documentation indexes:
> - v4 (default): https://signalwire.com/docs/browser-sdk/v4/llms.txt
> - v3: https://signalwire.com/docs/browser-sdk/v3/llms.txt
> - v2: https://signalwire.com/docs/browser-sdk/v2/llms.txt

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# 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**

**`value`** `MediaTrackConstraints | undefined`

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 = { width: { ideal: 1280 }, height: { ideal: 720 } };
```