Skip to main content

Interface: MediaDeviceRequest

The request constraints that applies to getMediaStream

Properties

audio

Optional audio: InputDeviceConstraint

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

Optional video: InputDeviceConstraint

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