yarn react-native-vision-camera 3.2.0
Release 3.2.0

latest releases: 4.6.1, 4.6.0, 4.5.3...
13 months ago

3.2.0 (2023-09-29)

VisionCamera 3.2.0 is another big release, I spent another 150 hours getting this out!
Huge shoutout to all my sponsors, thank you for supporting me! ❤️

Three major changes:

  • You can now control videoBitRate for recording videos! 🚀 Check out the video bit rate documentation.
  • Frame Processors now work in YUV again by routing images through ImageReader into the OpenGL pipeline. This is a temporary solution until Android has an API that allows auto-resizing of Frames written with ImageWriter. Right now, ImageWriter can only write Images that exactly match the target surface's resolution, which crashes when we switch Cameras while recording.
  • Fixes zoom and some undefined errors 💪

✨ Features

  • Add customizable Video Bit Rate (videoBitRate) (#1882) (902dc63)
  • Route images through ImageWriter into OpenGL pipeline (#1874) (954b448)
  • Use AHardwareBuffer* for frame.toArrayBuffer() (#1888) (cf1952d)

💨 Performance

  • Route images through ImageWriter into OpenGL pipeline (#1874) (954b448)
  • Use AHardwareBuffer* for frame.toArrayBuffer() (#1888) (cf1952d)

🐛 Bug Fixes

  • Allow getCameraDevice to return undefined when no Devices are available (e.g. iOS Simulator) (#1848) (f7428f2)
  • Allow nil preferredDevice (fb6ebd9), closes #1870
  • Incorrect zoom on Android < 11 (#1878) (fb812a6), closes #1865
  • Remove unused Error codes (#1887) (85564d6)
  • Use compressed buffer format as default format as well (#1884) (9d02f51)

📚 Documentation

Don't miss a new react-native-vision-camera release

NewReleases is sending notifications on new releases.