W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2021

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

From: Elad Alon via GitHub <sysbot+gh@w3.org>
Date: Thu, 25 Mar 2021 21:05:05 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-807485605-1616706304-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:53 UTC