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


@protocol AVCaptureVideoDataOutputSampleBufferDelegate


This protocol defines an interface for delegates of an AVCaptureVideoDataOutput object to receive captured video sample buffers and be notified of late sample buffers that were dropped.

The delegate of an AVCaptureVideoDataOutput object must adopt the AVCaptureVideoDataOutputSampleBufferDelegate protocol. The methods in this protocol are optional.


Managing Sample Buffer Behavior

- captureOutput:didOutputSampleBuffer:fromConnection:

Notifies the delegate that a new video frame was written.

- captureOutput:didDropSampleBuffer:fromConnection:

Notifies the delegate that a video frame was discarded.


Inherits From

See Also

Receiving Captured Video Data

- setSampleBufferDelegate:queue:

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


The capture object’s delegate.


The queue on which delegate callbacks should be invoked

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software