react-native-vision-camera/package/ios/Core
Marc Rousavy cf8f3d05e3
fix: Fix Video Recording delay and improve startRecording() performance (#2192)
* fix: Add more logs

* perf: Init audio AVAssetWriter in parallel

* chore: Log Audio Session activation

* perf: Init Audio Session asynchronously

* chore: Log when category changed

* fix: Revert lazy audio initialization

* Update Podfile.lock

* Pass `sourceFormatHint` to video and audio AVAssetWriter

* fix: Remove `sourceFormatHint` from Video Asset Writer

* Use default options for Audio Asset Writer

* Update Podfile.lock

* Revert "Use default options for Audio Asset Writer"

This reverts commit e575a14c5342ddc7f9db557d5e3915328ed9e798.

* Add time logs

* fix: Don't synchronize audio buffers, they are already in sync

* shouldOptimizeForNetworkUse = false

* fix: Only update `latestTimestamp` once video buffer has been written

* perf: Use `AVAssetWriterInput` instead of `AVAssetWriterInputPixelBufferAdaptor`

* fix: Fix Audio not being synchronized with Video

* Remove logs add comments

* Format

* feat: Set `.videoRecording` AVAudioSession mode

* Refactor `startRecording()` a bit

* Format

* chore: Throw error directly instead of double-checking
2023-11-22 17:53:10 +01:00
..
CameraConfiguration.swift perf: Use lossy compressed YUV buffers if available (#2195) 2023-11-22 16:19:29 +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 Video Recording delay and improve startRecording() performance (#2192) 2023-11-22 17:53:10 +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: Expose minExposure/maxExposure in format (#2179) 2023-11-19 16:43:04 +01:00
CameraSession+Focus.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
CameraSession+Photo.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
CameraSession+Video.swift fix: Fix Video Recording delay and improve startRecording() performance (#2192) 2023-11-22 17:53:10 +01:00
CameraSessionDelegate.swift feat: Implement cornerPoints and frame for scanned codes (#2117) 2023-11-09 11:57:05 +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 fix: Fix Video Recording delay and improve startRecording() performance (#2192) 2023-11-22 17:53:10 +01:00