Open mdottavi opened 6 months ago
Motorola G84 5G (Android 14) Same thing happens (6 photos good) seventh stucks also on Android OnePlus Nord 3 (Android 14)
The issue does not show up in the CameraExample as it is.... BUT just removing the format={format} parameter passed to the Camera Component it happens exactly the same.
hm interesting.
Can you test again with VisionCamera 4.0.5?
What's happening?
I integrated latest RNVC 4.0.3 in my project.
After taking 6 photos correctly (I checked files are saved in cache folder of the device) the takePhoto method get systematically stuck at the seventh execution (await props.camera.current.takePhoto does never end).
If I switch to another View and get back to the Camera View it resets and I can still get 6 goot photos before stucking again.
I tried to give some time from one shot and another but it does not change the issue. Fully reproducable Code is provided.
Devices: Motorola G84 5G
The error from LogCat at seventh shot is: ImageReader-4080x3072f22m9-8855-21 waitForFreeSlotThenRelock TIMED_OUT dequeuedCount=0, acquiredCount=3, mMaxAcquiredBufferCount=9, mMaxDequeuedBufferCount=8 ImageReader-4080x3072f22m9-8855-21 dequeueBuffer: No free buffer is found! getBufferLockedCommon: Stream 3: Can't dequeue next output buffer: Connection timed out (-110)
From the traces it look some buffer is not flushed after image acquisition. Do I need to flush/empty some data ?
Reproduceable Code
Relevant log output
Camera Device
Device
Motorola G84 5G
VisionCamera Version
4.0.3
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information