face-landmarking-ios icon indicating copy to clipboard operation
face-landmarking-ios copied to clipboard

Ignoring enqueueSampleBuffer

Open tveritinova opened this issue 7 years ago • 2 comments

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?

tveritinova avatar Apr 27 '17 22:04 tveritinova

I find a solution: http://stackoverflow.com/questions/43687169/ios-ignoring-enqueuesamplebuffer-because-status-is-failed

tveritinova avatar Apr 29 '17 00:04 tveritinova

// MARK: AVCaptureVideoDataOutputSampleBufferDelegate

if layer.status == .failed { layer.flush() } layer.enqueue(sampleBuffer)

def1984 avatar May 19 '17 07:05 def1984