Enumeration

AVCaptureOutput.DataDroppedReason

Information about why capture data was not delivered.

Declaration

enum DataDroppedReason : Int

Topics

Reason Values

case none

No data was dropped.

case lateData

Data was dropped because the capture output is configured to do so when its delegate queue is blocked and new data is waiting to be delivered.

case outOfBuffers

Data was dropped because the capture output's internal pool of memory buffers was exhausted.

case discontinuity

Data was dropped because the device providing the data experienced a discontinuity, and an unknown number of data objects have been lost.

See Also

Accessing Connections

var connections: [AVCaptureConnection]

The capture output object’s connections.

func connection(with: AVMediaType) -> AVCaptureConnection?

Returns the first connection in the connections array with an input port of a specified media type.