> 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. # setVideoInputDeviceConstraints > Updates the video input track constraints for the active call. ```ts setVideoInputDeviceConstraints(constraints): Promise ``` Updates the video input track constraints for the active call. ## **Parameters** **`constraints`** `MediaTrackConstraints` — required Media-track constraints to apply to the current video input. See [`MediaTrackConstraints`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints). --- ## **Returns** `Promise` — whether the constraints reached the media the call is sending. `false` is an outcome, not an error: the leg may have no live sender of that kind, or may carry media the SDK did not capture and may not replace (an `inputAudioStream`/`inputVideoStream` you supplied, a display capture, or pipeline output). Any failure behind a `false` is also reported on [`call.errors$`](/docs/browser-sdk/v4/reference/webrtc-call/errors\$), so a caller that ignores the return value still learns of it there. A UI that reflects the change must read it. ## **Examples** ```ts await selfParticipant.setVideoInputDeviceConstraints(constraints); ``` > Updates the video input track constraints for the active call.