Repository navigation
Feat/camera controls and config - #13
Merged
Merged
Conversation
- 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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.