Contact emailselada...@chromium.org

Explainerhttps://github.com/screen-share/element-capture/blob/main/README.md

Specificationhttps://screen-share.github.io/element-capture

Summary

API for capturing a subtree of the DOM. Given a video MediaStreamTrack
obtained through pre-existing means to initiate tab-capture, Element
Capture allows mutating the track to only capture a subtree of the DOM
starting at a given HTMLElement. The API bears some resemblance to the
Region Capture API, but affords greater flexibility for applications,
because occluding and occluded content are both excluded from the capture.

Blink componentBlink>GetDisplayMedia
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EGetDisplayMedia>

Motivation

Pre-existing mechanisms allow applications to capture the current tab and
crop the resulting video track to the bounding box of a target-element.
However: * If any elements occlude the target element, either partially or
fully, they are included in the captured frames. * If any elements are
partially-occluded by a partially transparent target-element, those
partially-occluded elements will also be (partially) included in the
captured frames. By allowing applications to restrict the capture to a
subtree of the DOM rather than a subsection of the viewport, we allow the
intentional exclusion of interfering content from the capture. This way,
applications can robustly capture just the intended content, allowing them
to offer a better experience to users.


Initial public proposalhttps://github.com/WICG/proposals/issues/73

TAG reviewN/A

TAG review statusPending

Risks


Interoperability and Compatibility

N/A

*Gecko*: No signal

*WebKit*: No signal

*Web developers*: No signals

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?No

Finch feature nameElementCapture

Launch bughttps://launch.corp.google.com/launch/4240472

Estimated milestones

No milestones specified

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5198989277790208

Links to previous Intent discussionsN/A

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMO6jDO6y5b6y3q9QEd2scsYPWuWLJBnPLgwm%2BaHpKx36CYMwA%40mail.gmail.com.

Reply via email to