Skip to main content

MediaDeviceRequest

Beta

The request constraints that applies to getMediaStream

Properties

PropertyTypeDescription
audio?InputDeviceConstraintBeta Either a Boolean (which indicates whether or not an audio track is requested) or a MediaDeviceInfoLike object providing a hint for the audio track included in the returned MediaStream
video?InputDeviceConstraintBeta Either a Boolean (which indicates whether or not an video track is requested) or a MediaDeviceInfoLike object providing a hint for the video track included in the returned MediaStream