Open tveritinova opened 7 years ago
Hi! During the restart of the application, the picture from the camera does not appear and writes a message: Ignoring enqueueSampleBuffer: because status is "failed" Are there any solutions?
Ignoring enqueueSampleBuffer: because status is "failed"
I find a solution: http://stackoverflow.com/questions/43687169/ios-ignoring-enqueuesamplebuffer-because-status-is-failed
// MARK: AVCaptureVideoDataOutputSampleBufferDelegate
if layer.status == .failed { layer.flush() } layer.enqueue(sampleBuffer)
Hi! During the restart of the application, the picture from the camera does not appear and writes a message:
Ignoring enqueueSampleBuffer: because status is "failed"
Are there any solutions?