w3c / mediacapture-screen-share-extensions

Other
1 stars 0 forks source link

[Capture control] Is setting a specific zoom level part of the MVP? #21

Open youennf opened 1 week ago

youennf commented 1 week ago

The current proposal allows to set a particular zoom level, which requires getting the current zoom level. This seems ok to implement for tab capture, but might prove more difficult for window surfaces.

AIUI, the main usecase is to zoom in or zoom out, which is something many OS/applications support.

This makes me wonder whether, instead of exposing the ability to set a specific zoom level, we could reduce to allow to zoom-in/zoom-out for the MVP. It seems these primitives could be easier to implement for both tabs and windows.

Would we lose much in terms of functionality?

eladalon1983 commented 1 week ago

Would we lose much in terms of functionality?

IIUC, the proposal here is to only support increase/decrease and get rid of everything else - getter, setter, supported-levels, event handelr. That means: