Recall that applications may currently obtain a capture of the tab in which they run using getDisplayMedia, either with or without preferCurrentTab. Moreover, soon another API will allow similar functionality - getViewportMedia. In either case, the application may then also wish to crop the resulting video track so as to remove some content from it (typically before sharing it remotely). We introduce a performant and robust API for cropping a self-capture video track.
N/A
Should be relatively unchallenging to use.
This is a mechanism by which an application purposefully strips away information which it already has access to (via pre-existing mechanisms such as getDisplayMedia).
Evaluate the usefulness of the feature and gather Web-developer feedback about how it may improve.
N/A
Supported on all desktop platforms, but not on mobile platforms, as the prerequisite API of getDisplayMedia is currently only available on desktop.
OriginTrial desktop last | 97 |
OriginTrial desktop first | 97 |
--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMO6jDPGYJBWv6xTaRPPAkCtCCU5RRhskk459kY4yhhsZtTSdg%40mail.gmail.com.
Thanks for catching that typo. The corrected request is m97 - m100.On Thu, Oct 7, 2021 at 9:20 AM Yoav Weiss <yoav...@chromium.org> wrote:Do I understand correctly and you want to experiment for a single milestone? (M97)On Tue, Oct 5, 2021 at 11:12 PM 'Elad Alon' via blink-dev <blin...@chromium.org> wrote:
Summary
Recall that applications may currently obtain a capture of the tab in which they run using getDisplayMedia, either with or without preferCurrentTab. Moreover, soon another API will allow similar functionality - getViewportMedia. In either case, the application may then also wish to crop the resulting video track so as to remove some content from it (typically before sharing it remotely). We introduce a performant and robust API for cropping a self-capture video track.
Blink component
BlinkTAG review
Pending
TAG review status
PendingRisks
Interoperability and Compatibility
Gecko: No signal
WebKit: No signal
When looking at the API, I found that it's unclear why a cropID is needed (compared to using an element ID instead, or just passing the element to `cropTo`). Would be good to further explain that.
May be good to try and move the spec over to the WICG. I saw activity on the related proposal, so it may be good to get explicit support from folks that'd enable such a move.
Plans to file for a TAG review?