Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Captured Surface Control #1061

Open
guidou opened this issue Aug 22, 2024 · 3 comments
Open

Captured Surface Control #1061

guidou opened this issue Aug 22, 2024 · 3 comments

Comments

@guidou
Copy link

guidou commented Aug 22, 2024

Request for Mozilla Position on an Emerging Web Specification

Other information

This is still under discussion in the WebRTC WG

@jan-ivar
Copy link
Member

Looks like this is on the WebRTC WG agenda for Tuesday. Looking forward to learning more then. cc @martinthomson

@jan-ivar
Copy link
Member

jan-ivar commented Aug 29, 2024

The local problem of how a presenter interacts with their capture choice seems a convincing use case worth solving.

But if we can solve it without granting permission or risk of remote (team viewer) control, then users would have a smoother experience, and avoid a class of risks that seem unnecessary.

So I like the direction presented Tuesday for "captureWheel" where the VC app passes in an HTMLMediaElement whose user interactions (wheel/trackpad/scrollbar scrolling, pinch-zoom) translate to the captured surface — a better name maybe?

I'd explore solving page zoom the same way.

The different approach for setZoomLevel seems problematic. Transient activation-consumption (up to 4 seconds) does not fully mitigate remote control, especially when discrete zoom levels can be set. Zooming out can cause more information to be captured than the user intended; max zoom-in can confuse the user. The mere idea of remote control can scare users.

I'd consider other approaches:

  1. pinch zoom
  2. UX in the HTML element (or PiP), when pinch zoom isn't available
  3. Inherit the VC app's Page Zoom level
  4. all of the above

The remaining justification for setZoomLevel seems to be app control over button positioning, which IMHO does not justify the remote control risk, however small. I'd be open to exploring app control over button positioning and opt-in/out.

@eladalon1983
Copy link

Thanks for the feedback, @jan-ivar. Would w3c/mediacapture-surface-control#14 address these concerns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Unscreened
Development

No branches or pull requests

3 participants