MediaOptions
Options controlling which media tracks to send and receive.
Extended by
Properties
audio
Enable audio input. Defaults to true when not specified.
fallbackToReceiveOnly
When local media can’t be acquired (permission denied or device unavailable), continue the call in receive-only mode instead of failing. Ignored when the call is not set to receive any media — with nothing to receive there is no call left to fall back to, so the failure is fatal.
inputAudioDeviceConstraints
Custom constraints for the audio input track. See MediaTrackConstraints.
inputAudioStream
Pre-existing audio stream to use instead of getUserMedia. See MediaStream.
inputVideoDeviceConstraints
Custom constraints for the video input track. See MediaTrackConstraints.
inputVideoStream
Pre-existing video stream to use instead of getUserMedia. See MediaStream.
receiveAudio
Whether to receive remote audio.
receiveVideo
Whether to receive remote video.
video
Enable video input. Defaults to false when not specified.