W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2020

Re: [mediacapture-screen-share] Spec should specify a short permission lifetime (#134)

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Thu, 16 Jan 2020 23:02:35 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-575387763-1579215754-sysbot+gh@w3.org>
https://w3c.github.io/mediacapture-screen-share/#dom-mediadevices-getdisplaymedia includes 

> The User Agent MUST NOT create a permission storage entry with a value of "granted".

which I believe means that every call to `getDisplayMedia()` will prompt (or auto-deny). Since the result object from `getDisplayMedia()` can't outlive the tab, that caps the lifetime of the capability. It probably wouldn't be a good idea to additionally specify a wall-time limit on how long someone can share their screen.

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/134#issuecomment-575387763 using your GitHub account
Received on Thursday, 16 January 2020 23:02:37 UTC

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