Closed bglgwyng closed 5 months ago
Lol, this is a fun one. I'll dig around the Apple forums to see why this is happening after I fix the Preview stretching issue - thanks for the bug report @bglgwyng !
Is this still broken after https://github.com/mrousavy/react-native-vision-camera/pull/2329?
Yes, the problem still exists.
And someone on Stackoverflow said this might be the stopRunning
method timing out, but we are not using that in this scenario I think (that's why the logs would've been useful and why I always ask for logs btw 😉) but yea I think we're not using stopRunning here right?
@mrousavy Is this reported behavior reproduced on your device? I just tested it and I found that my previous description was a bit misleading. There's no crash and no black screen problem, but the frame rates get so low(about 1 frame in 3 seconds).
No, I haven't seen that issue before - sorry :/
Let's keep it open tho, but honestly not sure if there's anything I can do.
Lol, this is a fun one. I'll dig around the Apple forums to see why this is happening after I fix the Preview stretching issue - thanks for the bug report @bglgwyng !
Hi @mrousavy and a big thanks for the amazing job on this lib
I see you mention a Preview stretching issue that I cant find any issues about but am experiencing too on 3.8.2. Do you have any progress on that?
Yes, there are like 6 issues about that and in the latest 3.9. beta release I fixed it.
Hey - I think this issue has been fixed in VisionCamera 4.0.0. 🥳
Please try V4 and let me know if you still experience this issue;
What's happening?
When setting the zoom to a value other than 1 and combining it with specified camera formats and resolutions, as described in the reproducible code section, the preview results in a black screen.
Reproduceable Code
Modify the example app as
Then set
zoom
value as any other value than1
, for exampleRelevant log output
Camera Device
Device
iPhone 13 (iOS 16.6.1)
VisionCamera Version
3.6.8
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information