react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.

MIT License

Downloads
545.4K
Stars
7.1K
Committers
102

Bot releases are hidden (Show)

react-native-vision-camera - Release 3.6.14

Published by mrousavy 11 months ago

3.6.14 (2023-12-07)

🐛 Bug Fixes

📚 Documentation

react-native-vision-camera - Release 3.6.13

Published by mrousavy 11 months ago

3.6.13 (2023-12-04)

🐛 Bug Fixes

📚 Documentation

  • Use npx expo instead of expo for snippets (#2241) (9df4667)
react-native-vision-camera - Release 3.6.12

Published by mrousavy 11 months ago

3.6.12 (2023-11-28)

🐛 Bug Fixes

  • Fix first Frame not being written in Video (#2228) (c68da45)
react-native-vision-camera - Release 3.6.11

Published by mrousavy 11 months ago

3.6.11 (2023-11-27)

✨ Features

  • Add extra-low and extra-high bit-rate options (#2225) (a28135d)

🐛 Bug Fixes

  • Fix focus(..) on iOS (#2220) (d78798f)
  • Fix torch not being reset after video recording (#2209) (bb3a42e)
  • Fix Recordings with audio={false} timeouting (#2221) (7047686)
  • Move minExposure/maxExposure from format into device (#2211) (cad5240)
  • Use bitRate multiplier instead of setting it to an absolute value (#2216) (d7f7095)
react-native-vision-camera - Release 3.6.10

Published by mrousavy 11 months ago

3.6.10 (2023-11-23)

🐛 Bug Fixes

  • Fully synchronize buffers in RecordingSession to account for late-running frames (#2206) (1767e6e)
react-native-vision-camera - Release 3.6.9

Published by mrousavy 11 months ago

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)
react-native-vision-camera - Release 3.6.8

Published by mrousavy 11 months ago

3.6.8 (2023-11-19)

🐛 Bug Fixes

react-native-vision-camera - Release 3.6.7

Published by mrousavy 11 months ago

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)
react-native-vision-camera - Release 3.6.6

Published by mrousavy 11 months ago

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)
react-native-vision-camera - Release 3.6.5

Published by mrousavy 11 months ago

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)
react-native-vision-camera - Release 3.6.4

Published by mrousavy 12 months ago

3.6.4 (2023-10-25)

✨ Features

🐛 Bug Fixes

react-native-vision-camera - Release 3.6.3

Published by mrousavy 12 months ago

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)
react-native-vision-camera - Release 3.6.2

Published by mrousavy 12 months ago

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)
react-native-vision-camera - Release 3.6.1

Published by mrousavy 12 months ago

3.6.1 (2023-10-24)

🐛 Bug Fixes

  • Fix missing self for delegate (62be941)
react-native-vision-camera - Release 3.6.0

Published by mrousavy 12 months ago

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 https://github.com/mrousavy/react-native-vision-camera/pull/2068). Stay tuned!

✨ Features

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

🐛 Fixes

react-native-vision-camera - Release 2.16.5

Published by mrousavy 12 months ago

2.16.5 (2023-10-24)

🐛 Bug Fixes

react-native-vision-camera - Release 3.5.1

Published by mrousavy about 1 year ago

3.5.1 (2023-10-19)

🐛 Bug Fixes

  • Fix Xcode 15 build error (var instead of let) (#2048) (5d9d153)
  • Set sensorOrientation to landscapeRight (00718ea)
react-native-vision-camera - Release 3.5.0

Published by mrousavy about 1 year ago

3.5.0 (2023-10-19)

Two breaking changes:

  1. VisionCamera 3.5.0 changes the way Frame Processor Plugins are registered - they now should be registered in the FrameProcessorPluginRegistry from within a static block on Android, and the VISION_EXPORT_FRAME_PROCESSOR_PLUGIN macro on iOS. See the docs for more information. (The old way will still work, but the new way is more stable)
  2. VisionCamera 3.5.0 also changes the way Frame Processor Plugins are loaded/initialized. Instead of VisionCameraProxy.getFrameProcessorPlugin(..), you should now use VisionCameraProxy.initFrameProcessorPlugin(..). (The old way will still work, but will be removed in the next version)

✨ Features

  • Make Frame Processors work on API <29 (#2041) (217461f)
  • Reintroduce Macros for Frame Processor Plugin registration (#2027) (a291642)
  • Rename getFrameProcessorPlugin to initFrameProcessorPlugin (#2038) (07027d8)

🐛 Bug Fixes

  • Add getFrameProcessorPlugin for backwards compatibility (#2040) (da25aa1)
  • Fix torch not working on iOS (#2031) (89dfd35)
  • Fix build on Xcode 14 (#2033) (2666ac5)
  • Initialize Plugins in a static block of ReactPackage (#2039) (3929c0a)
  • Remove unneeded kotlin-android-extensions dependency (#2034) (9573ae1)
react-native-vision-camera - Release 3.4.1

Published by mrousavy about 1 year ago

3.4.1 (2023-10-18)

🐛 Bug Fixes

react-native-vision-camera - Release 2.16.4

Published by mrousavy about 1 year ago

2.16.4 (2023-10-18)

🐛 Bug Fixes

  • Fix correct Frame Processor loading between Objc/Swift (#2025) (f5b6d7e)
  • Fix selfie landscape images not being flipped properly (#1948) (984499e)