Re: [mediacapture-screen-share] Add user activation check when calling getDisplayMedia (#106)

I am not sure we can always integrate this user gesture with something like "prompt the user to choose".
It might be best from a web developer perspective that an API always/never requires a user gesture.
Also, if we had that user gesture check in place for getUserMedia, doing the check as the first step of the algorithm would decrease the possibility to use getUserMedia as a probing/fingerprinting vector.

Or are you suggesting a new "retrieve callable state" hook defined in the Permissions API?

I am fine having that discussion in Permissions API.
I would prefer moving forward with this PR in parallel.

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

Received on Tuesday, 30 April 2019 03:42:18 UTC