Re: [mediacapture-screen-share] Wait for fully-active and has focus. (#192)

`getUserMedia` permissions can be persisted; `getDisplayMedia` permissions can't. If the tab is not visible, this PR produces no observable difference in behavior. If the tab is visible but unfocused (for example, two browser windows visible on the screen side by side), this would produce the difference of not invoking a prompt on the unfocused browser window+tab (until focused).
1. Did I get it right?
2. Are we sure this is really preferable? It makes more sense to me in the gUM case, because of the persisted permissions. Here, it seems to me that only showing the media picker when the user focuses the window, produces more surprising results for the user.

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


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

Received on Thursday, 16 September 2021 18:40:21 UTC