Re: [mediacapture-screen-share] Add getCurrentBrowsingContextMedia (#148)

As of gDM as a back-up, I think we should first let websites experiment with it themselves. UAs can also learn from it as well. It is easier to add additional parameters later if we think there is value based on that.

I see two requirements from that discussion:
- We should gate gvp on transient activation like done for gdm
- We should guarantee that even if gvp fails, transient activation stays valid in the reject handler so that gdm can be called right after

> I wonder if we should look into reinstating a way for developers to give a hint

Before going down that road, I think UA implementors should investigate what they can do on their own.
There is nothing in the spec preventing UAs to specialise prompts based on what users actually did in the past, even though this might be tricky from a usability and security point of view. Adding parameters given by the web site to the mix might make things more complex.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/pull/148#issuecomment-808087957 using your GitHub account


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

Received on Friday, 26 March 2021 10:03:31 UTC