3.9.0-beta.0 (2024-02-01)
✨ Features
- Use GPU/CPU optimized
ImageReader
s when possible (#2488) (f896831) - Add FPS Counter to Android (
enableFpsGraph
) (#2460) (9089014) - Bump
org.jetbrains.kotlinx:kotlinx-coroutines-android
from 1.5.2 to 1.7.3 (#2467) (fb96d00) - Use
yuv
by default if nopixelFormat
is set (#2441) (11eb1f6)
💨 Performance Improvements
🐛 Bug Fixes
- Catch
insufficient-storage
errors (#2422) (b1fa065) - Enable
processNestedWorklets
to fixrunAsync
in example (#2449) (587f2b1) - Expose auto-focus system for Android (#2455) (b5eb01b)
- Fix
maxImages have been acquired
error in Frame Processor (#2430) (7e2889c) - Fix
NullPointerException
ininitFrameProcessorPlugin
if plugin is not found (#2454) (02bc8a9) - Fix
NullPointerException
inVideoPipeline.removeRecordingSessionOutputSurface
(#2453) (bdbcf05) - Fix
pixelFormat
beingnative
when FP is set (#2450) (d64fc08) - Fix
priority
being ignored in some Format filters (#2456) (d9a3011) - Fix
SharedArray
JSI constructor allocating a new array instead of wrapping (#2444) (c911d25) - Fix
Unable to retrieve jni environment. Is the thread attached?
errors by usingjni::ThreadScope
(#2457) (33e2adc) - Fix Android C++ SharedArray logs (bc6f954)
- Fix crash in
toArrayBuffer()
by properly acquiring a reference onAHardwareBuffer*
(#2490) (ae75e22) - Fix HostObject destructors to make sure a JNI Environment is set up (#2462) (5f75b9e)
- Prevent phone from going to sleep if Camera is active (#2421) (a739ca1)
- Properly check
HardwareBuffer
usage flags before setting them (#2488) (f896831) - Refresh Permissions on AppState change (#2420) (97684af)
- Remove unneeded
synchronized
keyword (f400487) - remove yarn in gitignore (5c5d629)
- Use
ThreadScope::WithClassLoader
to also load custom JNI Types (#2461) (9e12975)