WebIDLpedia

MediaStreamConstraints dictionary

Definition

Media Capture and Streams defines MediaStreamConstraints



dictionary MediaStreamConstraints {
  (boolean or MediaTrackConstraints) video = false;
  (boolean or MediaTrackConstraints) audio = false;
};

This dictionary is extended in the following specifications:

Consolidated IDL (across partials)


dictionary MediaStreamConstraints {
  (boolean or MediaTrackConstraints) video = false;
  (boolean or MediaTrackConstraints) audio = false;
  boolean preferCurrentTab = false;
             DOMString peerIdentity;
};

Referring IDL interfaces/dictionaries

Referring specifications