Releases: mrousavy/react-native-vision-camera
Releases · mrousavy/react-native-vision-camera
Release 3.6.9
3.6.9 (2023-11-22)
🐛 Bug Fixes
- Fix iOS not reading
videoCodec
andvideoBitRate
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 theAVAudioSession
(#2192) (cf8f3d0) - Set
AVAssetWriter.shouldOptimizeForNetworkUse
tofalse
(#2192) (cf8f3d0) - Throw
CameraError
s instead of custom errors in a few places and simplifystartRecording()
(#2192) (cf8f3d0)
💨 Performance Improvements
Release 3.6.8
Release 3.6.7
Release 3.6.6
Release 3.6.5
3.6.5 (2023-11-15)
✨ Features
- Implement
cornerPoints
andframe
for scanned codes (#2117) (e649aba), closes #2076 #2076 - Show Alert when a code got scanned (ca6760d)
- Support setting
videoStabilizationMode
(#2160) (abf5538)
🐛 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
andflash
being ignored on iOS (#2113) (cc65ec2) - Set
isRunning
totrue
(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
Release 3.6.3
Release 3.6.2
Release 3.6.1
Release 3.6.0
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!