- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Apr 2021 23:14:08 +0000
- To: public-webrtc-logs@w3.org
> The canonical use-case is a mechanism that allows an end-user to provide feedback about defects to the app. If this is the only use-case then the following might suffice: ```js const [track] = (await navigator.mediaDevices.getViewportMedia()).getVideoTracks(); const imageBitmap = createImageBitmap(await new ImageCapture(track).takePhoto()); track.stop(); ``` The security properties don't seem significantly different to me. > an alternative ... might be a new value screen ... in the capture attribute of the <input file> element That might work too, but we'd want to require site-isolation and html-capture opt-in, just the same, I think. -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/160#issuecomment-820788212 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 April 2021 23:14:10 UTC