Instance Property

sampleBufferDelegate

The capture object’s delegate.

Declaration

var sampleBufferDelegate: AVCaptureVideoDataOutputSampleBufferDelegate? { get }

Discussion

The delegate receives sample buffers after they are captured.

You set the delegate using setSampleBufferDelegate(_:queue:).

See Also

Receiving Captured Video Data

func setSampleBufferDelegate(AVCaptureVideoDataOutputSampleBufferDelegate?, queue: DispatchQueue?)

Sets the sample buffer delegate and the queue on which callbacks should be invoked.

var sampleBufferCallbackQueue: DispatchQueue?

The queue on which delegate callbacks should be invoked

protocol AVCaptureVideoDataOutputSampleBufferDelegate

Methods for receiving sample buffers from and monitoring the status of a video data output.