Skip to content

Releases: mrousavy/react-native-vision-camera

Release 3.6.9

22 Nov 16:55
ccb0401
Compare
Choose a tag to compare

3.6.9 (2023-11-22)

🐛 Bug Fixes

  • Fix iOS not reading videoCodec and videoBitRate from options (#2202) (da0067d)
  • Fix Video Recording delay and improve startRecording() performance (#2192) (cf8f3d0)
  • Synchronize Audio Sample Buffers against the Video Capture Session so the audio track is no longer out of sync in video recordings (#2192) (cf8f3d0)
  • Use the .videoRecording mode for the AVAudioSession (#2192) (cf8f3d0)
  • Set AVAssetWriter.shouldOptimizeForNetworkUse to false (#2192) (cf8f3d0)
  • Throw CameraErrors instead of custom errors in a few places and simplify startRecording() (#2192) (cf8f3d0)

💨 Performance Improvements

  • Use lossy compressed YUV buffers if available (#2195) (49d58d0)
  • Remove AVAssetWriterInputPixelBufferAdaptor in favor of a simple AVAssetWriterInput (#2192) (cf8f3d0)
  • Run Audio Session activation in parallel to speed up startRecording() (#2192) (cf8f3d0)

Release 3.6.8

19 Nov 15:43
deb3c41
Compare
Choose a tag to compare

3.6.8 (2023-11-19)

🐛 Bug Fixes

Release 3.6.7

19 Nov 14:39
3bd84a4
Compare
Choose a tag to compare

3.6.7 (2023-11-19)

✨ Features

🐛 Bug Fixes

  • Close CameraSession if the View is removed (#2174) (a7e7061)
  • Fix VideoPipeline crash because ProGuard removed mHybridData (#2169) (c9dbd41)
  • Log errors to console if no onError handler is passed (98a6417)
  • Remove exposure TODOs (#2177) (95a3098)

Release 3.6.6

15 Nov 17:40
3dd56c3
Compare
Choose a tag to compare

3.6.6 (2023-11-15)

✨ Features

  • Enable HDR extension for photo capture if available (#2162) (f24c00d)
  • Split videoHdr and photoHdr into two settings (#2161) (c5dfb6c)

🐛 Bug Fixes

  • Fix Frame Processors not building (75fd924)

Release 3.6.5

15 Nov 16:05
e795ea1
Compare
Choose a tag to compare

3.6.5 (2023-11-15)

✨ Features

🐛 Bug Fixes

  • Fix a race condition that caused audio to not be configured (#2144) (1b90bc9)
  • Fix CodeScanner page (533bc6c)
  • Fix crash on Samsung devices when using frameProcessor with YUV format (#2108) (1d13db2)
  • Fix Frame Processors not building because of hasWorklets flag (#2137) (24ddca3)
  • Fix setting FPS lower than 30 on Samsung devices (#2138) (bb59c0a)
  • Fix Video codec, bitRate and flash being ignored on iOS (#2113) (cc65ec2)
  • Set isRunning to true (f4617a3)
  • Set correct namespace in build.gradle (#2104) (8f986a4)
  • Use Worklets 0.2.4 to fix FP crash (#2102) (4c9a707)

📚 Documentation

  • Add Worklets babel plugin to docs (fe6221e)

Release 3.6.4

25 Oct 10:58
ca6af86
Compare
Choose a tag to compare

3.6.4 (2023-10-25)

✨ Features

🐛 Bug Fixes

Release 3.6.3

24 Oct 13:49
3b9edfb
Compare
Choose a tag to compare

3.6.3 (2023-10-24)

🐛 Bug Fixes

  • Fix getting triple devices with useCameraDevice (#2074) (40268c4)
  • Fix physical devices detection on Android (#2073) (8d65d1d)

📚 Documentation

  • Add "Templates" to Format docs (e1f8e1b)

Release 3.6.2

24 Oct 12:28
f90dace
Compare
Choose a tag to compare

3.6.2 (2023-10-24)

🐛 Bug Fixes

  • Fix physicalDevices DeviceType computation on Android (#2072) (8a5dfd6)
  • Skip if no Preview Output is attached (5b1e5f3)
  • Use same error message (f91adb1)

Release 3.6.1

24 Oct 11:39
fcefc7f
Compare
Choose a tag to compare

3.6.1 (2023-10-24)

🐛 Bug Fixes

  • Fix missing self for delegate (62be941)

Release 3.6.0

24 Oct 10:01
86b3b9e
Compare
Choose a tag to compare

3.6.0 (2023-10-24)

This release comes with the new atomically single-lock core library for Android. On iOS, this has already been part of the last release and has been proven to work perfectly fine, fix many concurrency issues, improve startup time, and create room for improvement on other things.

I created a simple API for the new atomically single-lock core library, which would also make it possible to use VisionCamera in a native Android app:

cameraSession.configure { config ->
  config.cameraId = cameraId
  config.video = Output.Enabled(Video(PixelFormat.YUV))
  config.zoom = 1.4f
  // ...
}

Additionally, this fixes a few concurrency issues, a few blackscreen issues, improves the startup time, and creates room for improvement for stuff like lazily initializing the Preview View (see #2068). Stay tuned!

✨ Features

  • Implement atomically single-lock core/ library on Android (#2049) (de0d6cd)

🐛 Fixes