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

# setVideoInputDeviceConstraints

> Updates the video input track constraints for the active call.

```ts
setVideoInputDeviceConstraints(constraints): Promise<void>
```

Updates the video input track constraints for the active call.

## **Parameters**

Media-track constraints to apply to the current video input. See [`MediaTrackConstraints`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints).

## **Returns**

`Promise<void>`

## **Examples**

```ts
await selfParticipant.setVideoInputDeviceConstraints(constraints);
```