A container for video or audio samples collected using synchronized capture.


Accessing Synchronized Data

var sampleBuffer: CMSampleBuffer

The depth data captured at this synchronization point.

Handling Dropped Data

var sampleBufferWasDropped: Bool

A Boolean value indicating whether sample buffers were discarded between capture and processing.

var droppedReason: AVCaptureOutput.DataDroppedReason

A value indicating why the capture output failed to deliver sample buffers, if applicable.


See Also

Synchronized Capture

class AVCaptureDataOutputSynchronizer

An object that coordinates time-matched delivery of data from multiple capture outputs.

class AVCaptureSynchronizedDataCollection

A set of data samples from multiple capture outputs collected at the same time.

class AVCaptureSynchronizedDepthData

A container for scene depth information collected using synchronized capture.

class AVCaptureSynchronizedMetadataObjectData

A container for metadata objects collected using synchronized capture.

class AVCaptureSynchronizedData

The abstract superclass for media samples collected using synchronized capture.


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