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:
- preferCurrentTab
partial dictionary MediaStreamConstraints { boolean preferCurrentTab = false; };
- Identity for WebRTC 1.0
partial dictionary MediaStreamConstraints { DOMString peerIdentity; };
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
- preferCurrentTab refers to
MediaStreamConstraints
- Identity for WebRTC 1.0 refers to
MediaStreamConstraints