Open Bug 1813091 Opened 2 years ago Updated 1 year ago

Implement navigator.mediaDevices.getViewportMedia()

Categories

(Core :: WebRTC: Audio/Video, enhancement)

Desktop
All
enhancement

Tracking

()

People

(Reporter: jib, Unassigned)

Details

(Keywords: dev-doc-needed)

Defined in https://w3c.github.io/mediacapture-viewport/, getViewportMedia enables a web page to screen-capture the viewport (tab) it is rendered in, using a simpler allow/block permission model, bypassing the picker model of getDisplayMedia and some of the safety concerns associated with self-capture with that method.

The method is restricted to crossOriginIsolated pages (including iframes) that have opted in to such capture using two (because iframes) document-policies Document-Policy: viewport-capture and Require-Document-Policy: viewport-capture.

Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.