Closed lukaszkurantdev closed 1 week ago
Thanks for the bug report! I fixed this bug in VisionCamera 4.0.2 ๐ฅณ
@mrousavy Unfortunately, this bug still exists in 4.0.2 :(
lemme take another look.
This might fix your issue; https://github.com/mrousavy/react-native-vision-camera/pull/2849 bit more complex than I thought it would be
Yup I just tried runAsync
on my iPhone in a Skia Frame Processor and it works flawlessly!
What's happening?
When I want to use
runAsync
insideuseSkiaFrameProcessor
, the worklet function insiderunAsync
runs only once โ insideuseFrameProcessor
it works correctly. I'm usingreact-native-worklets-core
v1.3.0 and I've enabled optionprocessNestedWorklets
in reanimated babel configuration.For example, logs from first example looks like below:
But when I'm using
useFrameProcessor
(second example) it looks like this:Reproduceable Code
Relevant log output
Camera Device
Device
iPhone 11 (iOS 17.4.1)
VisionCamera Version
4.0.1
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