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

# addInputDevices

> Adds or replaces primary input devices (audio and/or video).

```ts
addInputDevices(options?): Promise<void>
```

Adds or replaces primary input devices (audio and/or video).

## **Parameters**

Media constraints to apply when capturing the new input devices. See [`MediaOptions`](/docs/browser-sdk/v4/reference/interfaces/media-options).

## **Returns**

`Promise<void>`

## **Examples**

```ts
await selfParticipant.addInputDevices(options);
```