I was trying to use the ofxUVC addon to control a webcam’s focus and exposure.
First of all my current setup:
Logitech C920 webcam.
Since updating to OF0.10, XCode 10, I can’t seem to connect at all to the camera anymore.
I’ve used this addon without problems with many other OF releases and never had any issues. I’ve tested the camera with an older app that was compiled with OF090 and it still runs great and controls my Logitech C920 without issues.
The problem seems to be that inside
- (id)initWithVendorID:(long)vendorID productID:(long)productID
HRESULT res = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID*) &deviceInterface ); (*plugInInterface)->Release(plugInInterface);
always returns NULL for the deviceInterface.
Does anyone know if Apple changed anything in the way we’re supposed to talk to USB devices since MacOS 10.13? I’ve looked in their documentation, but haven’t found anything.