Is it possible to display a camera feed in a macOS app? I'm basically trying to capture images frame by frame from a camera feed. I know how to do this in iOS, but for some reasons, on macOS, I can't seem to find any AVCaptureDevice
for video.
let x = AVCaptureDevice.devices()
// When I print x, I only see the Microphone as the only capture device. No reference to video/camera whatsoever
guard let device = AVCaptureDevice.default(for: .video) else{ return }