Re: [mediacapture-surface-control] Is gesture forwarding tied to capture controller or to MediaStreamTrack or to DOM objects? (#45)

> it's not possible to forward gestures from two different elements
> 
> > No Web developer has articulated this requirement, and I can't imagine a realistic use case where it would be necessary.

A developer could have multiple \<video> elements representing the same capture but with different video effects applied, or styled or cropped differently for different parts of the UI. They want the user to be able to scroll from whichever preview the user interacts with.

This is:
- Cleaner: The video is already the place where the captured stream is displayed.
- Less error-prone: Harder to accidentally forward gestures to the wrong capture.
- More scalable: Straightforward for multiple videos, each controlling its own forwarding.
- Idiomatic: Consistent with how other web APIs augment \<video> functionality over time.



-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-surface-control/issues/45#issuecomment-2588027586 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 13 January 2025 19:35:55 UTC