l1npengtul / nokhwa

Cross Platform Rust Library for Powerful Webcam/Camera Capture
Apache License 2.0
533 stars 137 forks source link

Moved from ExternalUnknown to External and added ContinuityCamera #176

Open paviro opened 4 months ago

paviro commented 4 months ago

My external webcams weren't showing up replacing the deprecated AVCaptureDeviceTypeExternalUnknown with AVCaptureDeviceTypeExternal seems to have fixed it. Also added AVCaptureDeviceTypeContinuityCamera.

I apologise this seems to be a duplicate of #172 leaving it open as it also adds AVCaptureDeviceTypeContinuityCamera which seems to have been included in AVCaptureDeviceTypeExternalUnknown before if I understand correctly.

Thintin914 commented 3 months ago

Hello, I followed your guide to add External and ContinuityCamera to the nokhwa package. I also need to add embed_plist package and add NSCameraUseContinuityCameraDeviceType to my Info.plist in order to make it work. I used a day to realize how to open camera in Sonoma MacOS. It would be great to remind other people they need to use external package.

l1npengtul commented 1 month ago

Ill consider backporting this for 0.10.6 For 0.11 macos will be re-written