> 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. # addInputDevices > Adds or replaces primary input devices (audio and/or video). ```ts addInputDevices(options?): Promise ``` Adds or replaces primary input devices (audio and/or video). ## **Parameters** **`options`** `MediaOptions` Media constraints to apply when capturing the new input devices. See [`MediaOptions`](/docs/browser-sdk/v4/reference/interfaces/media-options). --- ## **Returns** `Promise` ## **Examples** ```ts await selfParticipant.addInputDevices(options); ``` > Adds or replaces primary input devices (audio and/or video).