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*
forframe.toArrayBuffer()
(#1888) (cf1952d)
💨 Performance
- Route images through
ImageWriter
into OpenGL pipeline (#1874) (954b448) - Use
AHardwareBuffer*
forframe.toArrayBuffer()
(#1888) (cf1952d)
🐛 Bug Fixes
- Allow
getCameraDevice
to returnundefined
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
- Add Community Discord (3d8d053)
- Align Images perfectly on mobile (#1856) (6889639)
- Don't use bold links (#1860) (2c5c7d6)
- Fix Algolia not working (ad48823)
- Fix codeblocks alignment (42d9948)
- Fix docusaurus code block styling (#1859) (04fd597)
- Fix highlight (bb7549b)
- Fix hightlight line (4830ba8)
- Fix search by disabling contextual search (fd6d52f)
- Make images responsive (eec9a3e)
- New default color (#1857) (8a7e45d)
- Update link colors (5a98716)
- Use Light codeblocks theme (#1853) (cc88de3)
- Use updated Search index (1c8c081)