I noticed that google hangout meets provide the functionality to select if you want to share an entire monitor, application, or just a browser tab and instead of one menu, it is split into three.
I tried applying constraints like displaySurface: "monitor"
, but it didn't work and still provided all choices in one window. I was wondering how to achieve the same functionality in chrome as google hangouts, because according to MDN web docs
Note: Unlike most uses of constraints in media APIs, here it's solely used to define the stream configuration, and not to filter the available choices.
and this seems counterintuitive to the implementation that meet.google.com have unless there is a way to achieve this without constraints