hi- im trying to use captureDeviceDiscoverySession- on macos - to return all the webcams i have plugged in - i have 2 - but its not giving me a list??
any clues??
there are lots of iphone camera options but none relevant to osx??
this didnt work?
AVCaptureDeviceDiscoverySession *captureDeviceDiscoverySession = [AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:@[AVCaptureDeviceTypeBuiltInWideAngleCamera, AVCaptureDeviceTypeExternalUnknown]
mediaType:AVMediaTypeVideo
position:AVCaptureDevicePositionUnspecified];