Open caerphoto opened 1 year ago
Theoretically, this problem has already been solved by https://github.com/l1npengtul/nokhwa/pull/83.
But I found that the code on my computer which pull from crates.io is still not up-to-date, and I can only manually modify the misspelling to AVCaptureDeviceTypeExternalUnknown
in my local.
The code in Github repository and crates.io is out of sync.
Ill push a revision today.
@l1npengtul I tried to install the latest version of the package but it seems like the code is the same and I can not see the camera.
Can not build from source. Maybe you can help with it? this is my cargo.toml
nokhwa = "0.10.3"
## Then tried this one which is failing
nokhwa = {git = "https://github.com/l1npengtul/nokhwa", branch="senpai"}
Same issue here. Would it be possible to release fixed 0.10.x or 0.11, as this issue is quite major one?
0.10.4 has been published to fix this.
I have a mirrorless camera connected to my MacBook Pro via a HDMI capture device that connects to a USB port. This camera isn't detected when I use AVFoundation backend; only the built-in FaceTime camera is detected:
If I run
ioreg | grep -i cam
on the command line it only shows the FaceTime camera:But if I run
system_profiler SPCameraDataType
it shows both cameras:I don't really know
enoughanything about AVFoundation, sadly, otherwise I'd offer to help fix this, although judging by the comments in /nokhwa-bindings-macos)/src/lib.rb, perhaps this is for the best.For what little it may be worth, the Photo Booth, MS Teams, etc. all detect both cameras just fine.