react-native-vision-camera/package/ios/Core
Marc Rousavy 0d21bc3a57
fix: Fix blackscreen issues and lifecycle when closing Camera (#2339)
* fix: Fix Blackscreen by deterministically destroying session if `isActive=false`

* Re-open Camera if session died

* Simplify Camera

* Disconnect is optional, block when resetting state

* fix: Log in `configure { ... }`

* fix: Make concurrent configure safe

* fix: Don't resize preview

* fix: Use current `CameraConfiguration`

* Don't start if no outputs are available

* Only mount with preview outputs

* Update CameraSession.kt

* Update PreviewView.kt

* Better logging

* Update CameraSession.kt

* Extract

* fix: Rebuild entire session if `isActive` changed

* isActive safe

* Start session at 1

* Create ActiveCameraDevice.kt

* interrupts

* chore: Freeze `frame` in `useFrameProcessor`

* Revert "chore: Freeze `frame` in `useFrameProcessor`"

This reverts commit dff93d506e29a791d8dea8842b880ab5c892211e.

* chore: Better logging

* fix: Move HDR to `video`/`photo` config

* fix: Fix hdr usage

* fix: Ignore any updates after destroying Camera

* fix: Fix video HDR

* chore: Format code

* fix: Check Camera permission

* Remove unneeded error

* Update CameraSession.kt

* Update CameraPage.tsx

* Delete OutputConfiguration.toDebugString.kt

* Update CameraSession.kt
2024-01-08 11:41:57 +01:00
..
CameraConfiguration.swift fix: Check torch only if needed (#2215) 2023-12-14 10:54:19 +01:00
CameraError.swift feat: Split videoHdr and photoHdr into two settings (#2161) 2023-11-15 18:33:12 +01:00
CameraQueues.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
CameraSession.swift fix: Fix blackscreen issues and lifecycle when closing Camera (#2339) 2024-01-08 11:41:57 +01:00
CameraSession+Audio.swift fix: Fix Video Recording delay and improve startRecording() performance (#2192) 2023-11-22 17:53:10 +01:00
CameraSession+CodeScanner.swift feat: Implement cornerPoints and frame for scanned codes (#2117) 2023-11-09 11:57:05 +01:00
CameraSession+Configuration.swift fix: Move minExposure/maxExposure from format into device (#2211) 2023-11-24 18:20:56 +01:00
CameraSession+Focus.swift fix: Fix focus(..) on iOS (#2220) 2023-11-27 14:43:56 +01:00
CameraSession+Photo.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
CameraSession+Video.swift feat: Add width and height to VideoFile output (#2281) 2023-12-12 16:43:57 +01:00
CameraSessionDelegate.swift feat: Add onStarted and onStopped events (#2273) 2023-12-09 19:09:55 +01:00
PhotoCaptureDelegate.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
PreviewView.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
RecordingSession.swift feat: Add width and height to VideoFile output (#2281) 2023-12-12 16:43:57 +01:00