mediacapture-region
mediacapture-region copied to clipboard
This document introduces an API for cropping a video track derived from display-capture of the current tab.
If transferring a track, we should probably preserve cropping. https://w3c.github.io/mediacapture-extensions/#transferable-mediastreamtrack algorithm does not account for this.
CropTarget current proposal is basically an opaque wrapper around some kind of element identifier. @eladalon1983 original proposal was to expose a string, with some use cases in mind that could...
Fixes #55. *** Preview | Diff
*** Preview | Diff
Consider a `track` cropped-to `cropTarget1`. Assume a valid `cropTarget2` is produced to match `element2`, then `element2` is removed from the DOM and eventually garbage-collected. If we now call `track.cropTo(cropTarget2)`, it...
The spec is not really clear about what muting a track means. It probably means doing https://w3c.github.io/mediacapture-main/#set-track-muted. Using muted is potentially not a great idea since the application might not...
Consider an application that self-captures, crops to a region of interest, and then posts the track on to a cross-origin iframe. One typical scenario for this would be when a...
Assume an active track. Assume cropTo() is called on that track while it's active. A Promise is returned, and IPC follows; in Chromium - IPC to the "browser process". What...
We should probably specify that calling `cropTo()` on an ended track, rejects with some specific error.
`CropTarget.fromElement()` receives an `Element` as input. `Element` has many subtypes, and some new ones will be introduced over time. Some implementations will, at certain timepoints, not support certain subtypes. Web-developers...