Post

Replies

Boosts

Views

Activity

captureDeviceDiscoverySession on macOS - return all cameras???
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];
3
0
1.3k
Jun ’20