📸 A powerful, high-performance React Native Camera library.
MIT License
Published by mrousavy 11 months ago
Published by mrousavy 11 months ago
Published by mrousavy 11 months ago
focus(..)
on iOS (#2220) (d78798f)torch
not being reset after video recording (#2209) (bb3a42e)audio={false}
timeouting (#2221) (7047686)minExposure
/maxExposure
from format into device (#2211) (cad5240)bitRate
multiplier instead of setting it to an absolute value (#2216) (d7f7095)Published by mrousavy 11 months ago
Published by mrousavy 11 months ago
videoCodec
and videoBitRate
from options (#2202) (da0067d)startRecording()
performance (#2192) (cf8f3d0).videoRecording
mode for the AVAudioSession
(#2192) (cf8f3d0)AVAssetWriter.shouldOptimizeForNetworkUse
to false
(#2192) (cf8f3d0)CameraError
s instead of custom errors in a few places and simplify startRecording()
(#2192) (cf8f3d0)Published by mrousavy 11 months ago
Published by mrousavy 11 months ago
cornerPoints
and frame
for scanned codes (#2117) (e649aba), closes #2076 #2076
videoStabilizationMode
(#2160) (abf5538)hasWorklets
flag (#2137) (24ddca3)codec
, bitRate
and flash
being ignored on iOS (#2113) (cc65ec2)isRunning
to true
(f4617a3)build.gradle
(#2104) (8f986a4)Published by mrousavy 12 months ago
Published by mrousavy 12 months ago
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!
Published by mrousavy 12 months ago
Published by mrousavy about 1 year ago
Published by mrousavy about 1 year ago
Two breaking changes:
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)VisionCameraProxy.getFrameProcessorPlugin(..)
, you should now use VisionCameraProxy.initFrameProcessorPlugin(..)
. (The old way will still work, but will be removed in the next version)getFrameProcessorPlugin
to initFrameProcessorPlugin
(#2038) (07027d8)getFrameProcessorPlugin
for backwards compatibility (#2040) (da25aa1)torch
not working on iOS (#2031) (89dfd35)static
block of ReactPackage (#2039) (3929c0a)kotlin-android-extensions
dependency (#2034) (9573ae1)