setVideoInputDeviceConstraints

View as MarkdownOpen in Claude
1setVideoInputDeviceConstraints(constraints): Promise<void>

Updates the video input track constraints for the active call.

Parameters

constraints
MediaTrackConstraintsRequired

Media-track constraints to apply to the current video input. See MediaTrackConstraints.

Returns

Promise<void>

Examples

1await selfParticipant.setVideoInputDeviceConstraints(constraints);