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

1. Why "weaker"?
2. We know of at least one feature-customer that wants this - Google Slides. The code you present that calls gDM if gVM fails, would not serve their need, because it would still produce the usual gDM media-picker when gVM fails and gDM is called immediately after. Unless, that is, we implement it as "calls to gDM immediately after a gVM failure yield the new gDM behavior." But it would be tricky to define "immediately" in a way that could satisfy all customers. So:
3. Another option is to add a parameter that controls this. Maybe something like `any_surface_allowed`. We could say that gVM with `any_surface_allowed=true` is allowed to be called from a context that does not satisfy [site-isolation and new-header], but MUST allow the user an unconstrained choice, and MAY present a different order of options compared to gDM.

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


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

Received on Thursday, 25 March 2021 21:05:55 UTC