Using AVCaptureSession to capture camera on Mac