Skip to main content

InputConstraintSet

Extends

  • MediaTrackConstraints

Properties

PropertyTypeDescriptionInherited from
device?DeviceConstraint | ConstraintDeviceParametersSame purpose as deviceId but it gives more information about the device so that we can have extra tolerance on device selection-
videoSegmentation?ConstrainDOMStringWhether or not using video segmentation, e.g. background blur/replacement, to specify the effects, intended to be applied to the segment. Available effects are none, blur, overlay or remove-
videoSegmentationModel?ConstrainDOMStringSegmentation model to be used for video segmentation, currently only supports mediapipeSelfie and personify-
denoise?ConstrainBooleanWhether or not using our own noise suppression-
vad?ConstrainBooleanVoice Activity Detection-
asd?ConstrainBooleanAudio Signal Detection for the purpose of checking if the audio input is hardware muted or unusable-
mixWithAdditionalMedia?ConstrainBooleanAudio Signal Detection for the purpose of checking if the audio input is hardware muted or unusable-
backgroundBlurAmount?ConstrainULongBlur size/level parameter when using video segmentation with blur effects-
edgeBlurAmount?ConstrainULongBlur amount applied to the segmented person's edge-
foregroundThreshold?ConstrainDoubleErode level for edge smoothing when using video segmentation-
backgroundImageUrl?ConstrainDOMStringImage Url that is being used for video overlay effects-
maskCombineRatio?ConstrainDoubleThe ratio to be used for smoothing segmentation mask-
resizeMode?ConstrainDOMStringImage Url that is being used for video overlay effects-
pan?booleanCurrent pan, tilt and zoom level for a PTZ controllable camera on web-
tilt?boolean--
zoom?boolean--
contentHint?ConstrainDOMStringContent Hint for the track to apply-
volume?ConstrainNumber-MediaTrackConstraints.volume
latency?ConstrainNumber-MediaTrackConstraints.latency
aspectRatio?ConstrainDouble-MediaTrackConstraints.aspectRatio
autoGainControl?ConstrainBoolean-MediaTrackConstraints.autoGainControl
backgroundBlur?ConstrainBoolean-MediaTrackConstraints.backgroundBlur
channelCount?ConstrainULong-MediaTrackConstraints.channelCount
deviceId?ConstrainDOMString-MediaTrackConstraints.deviceId
displaySurface?ConstrainDOMString-MediaTrackConstraints.displaySurface
echoCancellation?ConstrainBoolean-MediaTrackConstraints.echoCancellation
facingMode?ConstrainDOMString-MediaTrackConstraints.facingMode
frameRate?ConstrainDouble-MediaTrackConstraints.frameRate
groupId?ConstrainDOMString-MediaTrackConstraints.groupId
height?ConstrainULong-MediaTrackConstraints.height
noiseSuppression?ConstrainBoolean-MediaTrackConstraints.noiseSuppression
sampleRate?ConstrainULong-MediaTrackConstraints.sampleRate
sampleSize?ConstrainULong-MediaTrackConstraints.sampleSize
width?ConstrainULong-MediaTrackConstraints.width
advanced?MediaTrackConstraintSet[]-MediaTrackConstraints.advanced