Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach the VisionCameraProxy runtime to FrameProcessorPluginHostObject #2913

Closed
wants to merge 4 commits into from

Conversation

nmajumder12
Copy link
Contributor

@nmajumder12 nmajumder12 commented May 24, 2024

What

Since Frame Processor Plugin will always be called within the context of the RNVC, shouldn't it be attached to the vision camera runtime instead of the runtime of the initializer.

Changes

Tested on

Related issues

Potentially related to #2820 and margelo/react-native-worklets-core#173

Copy link

vercel bot commented May 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 11:18pm

@mrousavy
Copy link
Owner

Hi - thank you for your PR, unfortunately that is not safe to do.
The Pointer cannot be "captured" like this, and this can now no longer be called from multiple Runtimes.

@mrousavy mrousavy closed this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants