Re: [mediacapture-screen-share] Behavior for getDisplayMedia() and getDisplayMedia({}) should be the same (#65)

Alternatively, something like what @foolip proposed might work:
```is
dictionary DisplayMediaStreamConstraints {
  (boolean or MediaTrackConstraints) video = true;
  (boolean or MediaTrackConstraints) audio = false;
};
```
... with prose to throw *TypeError* on `video: false`, since audio-only capture is disallowed.


-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/65#issuecomment-442340981 using your GitHub account

Received on Wednesday, 28 November 2018 07:00:09 UTC