react-native-vision-camera/package/ios/Extensions
Marc Rousavy cf4882b152
feat: Add support for LiDAR, TrueDepth, External (USB) and Continuity Camera Devices (iOS 17) (#1824)
* feat: Add support for LiDAR, TrueDepth, External (USB) and Continuity Camera Devices (iOS 17)

* Rename `devices` -> `physicalDevices`

* fix: Comment out iOS 17 cameras for now

* fix: Move `supportsDepthCapture` to `format`

* fix: Fall back to `wide-angle-camera` for any unknown types

* Update CameraPage.tsx

* `descriptor` -> `physicalDeviceDescriptor`

* Update CameraDevice.ts

* Format

* feat: Expose `userPreferredCameraDevice`

Uses the new iOS 17 API where the user can prefer a default device, otherwise fall back to the first device of the available ones

* fix: Expose as property

* Add TODO comments

* fix: Format code

* fix: Compile below Swift 5.9
2023-09-21 16:29:46 +02:00
..
AVAssetWriterInputPixelBufferAdaptor+initWithVideoSettings.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVAudioSession+trySetAllowHaptics.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVAudioSession+updateCategory.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureConnection+setInterfaceOrientation.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice.Format+isBetterThan.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice.Format+matchesFilter.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice.Format+toDictionary.swift feat: Add support for LiDAR, TrueDepth, External (USB) and Continuity Camera Devices (iOS 17) (#1824) 2023-09-21 16:29:46 +02:00
AVCaptureDevice.Format+videoDimensions.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice+isMultiCam.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice+neutralZoom.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice+physicalDevices.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureDevice+toDictionary.swift feat: Add support for LiDAR, TrueDepth, External (USB) and Continuity Camera Devices (iOS 17) (#1824) 2023-09-21 16:29:46 +02:00
AVCapturePhotoOutput+mirror.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVCaptureSession+setVideoStabilizationMode.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVFrameRateRange+includes.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
Collection+safe.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
FourCharCode+toString.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00