[mediacapture-surface-control] [Capture control] Consideration of proposal to support zoom in/out (#40)

eladalon1983 has just created a new issue for https://github.com/w3c/mediacapture-surface-control:

== [Capture control] Consideration of proposal to support zoom in/out ==
If I understood @youennf correctly, he proposes to replace `setZoomLevel(value)` with `zoomIn()` and `zoomOut()`. (Or a similar shape.)
1. Did I understand correctly?
2. What are the benefits of this approach? Could they be articulated by someone who supports that change?
3. Assuming that this approach has some benefits over `setZoomLevel(value)` in some use cases, could a compromise be achieved, serving both use cases, using either of the following?
   - Specifying both setZoomLevel(value) **and** zoomIn()/zoomOut()
   - Specifying `setZoomLevel()` as accepting `long or ZoomAction`, where `ZoomAction` is an enum consisting of "in" and "out"

Please view or discuss this issue at https://github.com/w3c/mediacapture-surface-control/issues/40 using your GitHub account


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

Received on Wednesday, 13 November 2024 08:34:24 UTC