Skip to content

Feat/camera controls and config - #13

Merged
kessdev merged 9 commits into
mainfrom
feat/camera-controls-and-config
Oct 12, 2026
Merged

kessdev merged 9 commits into
mainfrom
feat/camera-controls-and-config

Conversation

@kessdev

@kessdev kessdev commented Oct 12, 2026

Copy link
Copy Markdown
Owner

No description provided.

- permissions namespace camera-kessdev:* (was camera:*)
- iOS test command xcodebuild test (was swift test)
- add openAppSettings to imports + usage
- intro mentions introspection
- beta version + Types section
- add startPreview({ cameraId }); precedence cameraId > camera > default
- Android: CameraSelector filter by Camera2 cameraId (+ pure resolve helper)
- iOS: AVCaptureDevice(uniqueID:) with resolve helper
- desktop: getUserMedia deviceId constraint
- invalid cameraId rejects with a descriptive error
- README documents the option
- setTorch, setFocusPoint, setFocusMode, setExposureCompensation,
  setExposureMode, setWhiteBalance (+ desktop degradation)
- extend getCapabilities with exposureRange, exposureModes,
  whiteBalanceModes and supportsWhiteBalanceTemperature
- orientation and front-camera mirroring
- uniform white balance (mode auto|locked + Kelvin); Android computes
  Rggb gains, iOS uses deviceWhiteBalanceGains
- unit tests for helpers + README documentation
- capture({ resolution, aspectRatio, format, quality })
- startRecording({ quality, fps, bitrate })
- extend getCapabilities with photoResolutions/photoAspects/videoQualities/videoFps
- desktop applies resize/format/quality and constraints/bitrate
- add covector change files for lens-selection and capture-config
- README documents the options
…stics

- iOS: use valid AVCaptureSession.Preset values (vga640x480, hd1280x720,
  hd1920x1080, hd4K3840x2160) instead of the non-existent .sd
- Android: move @Suppress(DEPRECATION) to bindUseCases
- CI: surface Android/iOS build errors as annotations (temporary)
CONTROL_AF_MODE/CONTROL_AE_LOCK/CONTROL_AWB_MODE/CONTROL_AWB_GAINS are
CaptureRequest.Key, not CameraCharacteristics.Key. Also make the aspect
ratio when exhaustive.
Camera2 has no CaptureRequest.CONTROL_AWB_GAINS; manual white balance uses
COLOR_CORRECTION_MODE=TRANSFORM_MATRIX + COLOR_CORRECTION_GAINS with
CONTROL_AWB_MODE=OFF.
…ilures

gcd(1920, 1080) is 120 (16:9), not 4. Also surface ./gradlew test errors as
annotations (temporary).
@kessdev
kessdev merged commit 30be43e into main Oct 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant