-
Notifications
You must be signed in to change notification settings - Fork 1
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
UVC_ERROR_ACCESS on macOS Monterey and Ubuntu (on Raspberry Pi 4) #2
Comments
@pandres95: that's unfortunate. Am not using macOS 12, so can't debug myself. My first guess would be that the OS driver has claimed the camera device, and is not letting it go. A quick search in the upstream
This is clearly related to a change in macOS 12. While it might be possible to solve, Does that help? Could you post the solution you end up using? I see that you are working on a Network Device Interface (NDI) video streaming library for Node.js. Is the goal to support UVC devices as NDI devices? If so, cool -- might be useful for what I'm working on too =)
While |
Yeah! It's actually pretty useful to know this is a recurring issue. Since I hadn't had time to try reproducing it on other devices (such a Raspberry Pi), I was stuck thinking it was an issue with the library. That was until finding out what the -3 error meant, and started getting deeper into the issues. Actually, after reading these issues, might consider skipping tests over macOS 12+ for now, at least until a better solution for camera usage on macOS (other solutions such as Actually, my intent with using Also, it's really cool to know you might be interested in the NDI library. 😁 It'll take me at least a couple of weeks to have it working with audio, and both video/audio, so that first working version would be complete. That said, once I have it, I'll let you know. |
Hi @joelpurra! Just by chance I was checking the usage of the library on the Raspberry Pi 4, using Ubuntu 21.10. This is because well… it's the use case why I'm building the NDI library in first place 😅 . I found out two things:
The environment to try reproducing the issue is the following: OS: Ubuntu Desktop 21.10, |
By the way, the missing descriptor issue has popped up for macOS users in other projects (joelpurra/uvcc#23), presumably due to macOS 12 issues. The underlying issue seems to be the same; USB/webcam access is now restricted. |
Workaround which may not be easy to implement (using a codeless DriverKit Extension). |
I'm trying to use uvc@1.0.0 under the following environment:
OS: macOS Monterey (version 12.1 (21C52)),
Node version(s): v14.18.3, v16.13.2
libuvc
version: 0.0.6.This is the code I'm using so far to test it:
The error I'm getting in the output is the following
UVC_ERROR_ACCESS
:Screenshot of the complete output message:
Is there something I might be doing wrong, or even something unrelated to my code but related to an issue with how Node accesses to
libuvc
, maybe?The text was updated successfully, but these errors were encountered: