- From: Elad Alon via GitHub <sysbot+gh@w3.org>
- Date: Thu, 09 Jun 2022 14:03:49 +0000
- To: public-webrtc@w3.org
eladalon1983 has just created a new issue for https://github.com/w3c/mediacapture-region: == Initial state of cloned tracks == The spec currently reads: > `clone()` > When a [BrowserCaptureMediaStreamTrack](https://w3c.github.io/mediacapture-region/#dom-browsercapturemediastreamtrack) is cloned, the user agent MUST produce a track which is initially [uncropped](https://w3c.github.io/mediacapture-region/#dfn-uncropped), regardless of the [crop-state](https://w3c.github.io/mediacapture-region/#dfn-crop-states) of the original track. ``` Rethinking this, I don't see how that serve Web developers. The most natural thing to do when cloning is to clone as much of the state as possible - that's what a developer would expect. If a developer wishes to hand off an uncropped version of the track, they can do the following: ```js const clonedTrack = track.clone(); await track.cropTo(); // Hand it off. ``` Please view or discuss this issue at https://github.com/w3c/mediacapture-region/issues/65 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 9 June 2022 14:03:50 UTC