- From: Elad Alon via GitHub <sysbot+gh@w3.org>
- Date: Mon, 30 Nov 2020 20:44:01 +0000
- To: public-webrtc-logs@w3.org
An iframe only capturing itself would not cover some interesting use cases. For example, a document being presented to a VC, by embedding an iframe of the VC's application inside the document-editor application. Or a game capturing footage of itself by embedding an iframe which also contains code and visible controls for managing the capture, annotating it, and uploading it to a remote server, possibly one which streams it to remote viewers. On Mon, Nov 30, 2020 at 8:08 PM Jan-Ivar Bruaroey <notifications@github.com> wrote: > I agree with @annevk <https://github.com/annevk> here on naming. The > document is the largest object being captured. > > If tab X captures itself, ... > > @eladalon1983 <https://github.com/eladalon1983> When we say something > "captures itself", that something is the document, not the tab. → > getDocumentMedia. > > Implementation influencing API: The method of capturing done by > GetDisplayMedia (and this version) involves grabbing the framebuffer after > the browsing context has been rendered, I believe. > > @alvestrand <https://github.com/alvestrand> Ah, I couldn't figure out why > the API allowed an iframe to capture its embedder, when none of the use > cases require it. → getTopLevelDocumentMedia would also be a mouthful. > > I'd humbly suggest an iframe only capture itself. A simpler story, and a > useful cropping tool to boot. > > For implementations, cutting out the relevant rectangle from the > framebuffer is hopefully not too difficult. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/w3c/mediacapture-screen-share/pull/148#issuecomment-735982430>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AFIX22H2OPTYPG5XVQ6PDBDSSPUSXANCNFSM4SHNXW3A> > . > -- GitHub Notification of comment by eladalon1983 Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/pull/148#issuecomment-736031743 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 30 November 2020 20:44:03 UTC