react-native-vision-camera/package/ios/Extensions
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
..
AVAssetWriterInputPixelBufferAdaptor+initWithVideoSettings.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
AVAudioSession+updateCategory.swift fix: Fix Video Recording delay and improve startRecording() performance (#2192) 2023-11-22 17:53:10 +01:00
AVCaptureConnection+setInterfaceOrientation.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
AVCaptureDevice.Format+dimensions.swift feat: Use correct photo and video format dimensions on iOS (#1929) 2023-10-06 16:11:09 +02:00
AVCaptureDevice.Format+toDictionary.swift perf: Use lossy compressed YUV buffers if available (#2195) 2023-11-22 16:19:29 +01: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 fix: Expose minExposure/maxExposure in format (#2179) 2023-11-19 16:43:04 +01:00
AVCaptureOutput+mirror.swift feat: Support setting videoStabilizationMode (#2160) 2023-11-15 17:00:41 +01:00
AVCaptureSession+synchronizeBuffer.swift fix: Fix Video Recording delay and improve startRecording() performance (#2192) 2023-11-22 17:53:10 +01:00
AVCaptureVideoDataOutput+findPixelFormat.swift feat: Add support for Buffer Compression for a more efficient Video Pipeline (enableBufferCompression) (#1828) 2023-09-21 17:18:54 +02:00
AVCaptureVideoDataOutput+pixelFormat.swift feat: New Core/ library (#1975) 2023-10-13 18:33:20 +02:00
AVCaptureVideoDataOutput+recommendedVideoSettings.swift fix: Fix Video Recording delay and improve startRecording() performance (#2192) 2023-11-22 17:53:10 +01:00
AVFrameRateRange+includes.swift chore: Move everything into package/ (#1745) 2023-09-01 18:15:28 +02:00
CMVideoDimensions+toCGSize.swift feat: Use correct photo and video format dimensions on iOS (#1929) 2023-10-06 16:11:09 +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