Skip to content

🐠 Add Zoom Support #19

@cengiz-pz

Description

@cengiz-pz

Is there an existing issue for this?

  • I have searched the existing open and closed issues
  • I have searched the discussions
  • I have starred the repository

Current Behavior

No response

Proposed Behavior

Add support for set_zoom(factor: float)

  • Android API 30+: CONTROL_ZOOM_RATIO; older: SCALER_CROP_REGION
  • iOS: AVCaptureDevice.videoZoomFactor
  • Clamp to reported min_zoom / max_zoom from camera info
  • Could be exposed in get_all_cameras() result

Update CameraInfo:

  • Add min_zoom and max_zoom properties
  • Android: SCALER_AVAILABLE_MAX_DIGITAL_ZOOM
  • iOS: minAvailableVideoZoomFactor

New zoom_changed signal

  • Payload: factor: float
  • Confirms applied zoom (async on iOS)

Plugin Version

1.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    Status
    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions