Re: [mediacapture-screen-share] Avoid Hall-of-Mirrors (#209)

Based on the interim from 2022-03-15, how about:
```webidl
enum CurrentTabPreferenceEnum {
  "include",
  "exclude"
};

dictionary DisplayMediaStreamConstraints {
  (boolean or MediaTrackConstraints) video = true;
  (boolean or MediaTrackConstraints) audio = false;
  CurrentTabPreferenceEnum currentTabPreference;
};
```

And then:
```
If a value is specified for currentTabPreference, it is a hint. 
The user agent MAY regard this hint when deciding whether
to include the current tab in the list of surfaces it offers to the user.
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 15 March 2022 16:34:14 UTC