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

# setInputDevicesConstraints

> Updates both audio and video input track constraints for the active call.

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

Updates both audio and video input track constraints for the active call.

## **Parameters**

Constraints for both audio and video input devices. See [`MediaTrackConstraints`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints).

## **Returns**

`Promise<void>`

## **Examples**

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