Class

AVCaptureOutput

The abstract superclass for objects that output the media recorded in a capture session.

Declaration

@interface AVCaptureOutput : NSObject

Overview

AVCaptureOutput is an abstract base class describing an output destination of an AVCaptureSession object.

AVCaptureOutput provides an abstract interface for connecting capture output destinations, such as files and video previews, to a capture session (an instance of AVCaptureSession). A capture output can have multiple connections represented by AVCaptureConnection objects, one for each stream of media that it receives from an AVCaptureInput. A capture output does not have any connections when it is first created. When you add an output to a capture session, the capture session creates connects that map media data from that session’s inputs to its outputs.

You can add concrete AVCaptureOutput instances to a capture session using addOutput:.

Topics

Accessing Connections

connections

The capture output object’s connections.

- connectionWithMediaType:

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

AVCaptureOutputDataDroppedReason

Information about why capture data was not delivered.

Converting Between Coordinate Systems

- transformedMetadataObjectForMetadataObject:connection:

Converts the visual properties of an AVMetadataObject to the output’s coordinates.

- metadataOutputRectOfInterestForRect:

Converts a rectangle in the capture output object’s coordinate system to one in the coordinate system used for metadata outputs.

- rectForMetadataOutputRectOfInterest:

Converts a rectangle in the coordinate system used for metadata outputs to one in the capture output object’s coordinate system.

Relationships

Inherits From

See Also

Session Configuration

AVCaptureInput

The abstract superclass for objects that provide input data to a capture session.

AVCaptureConnection

A connection between a specific pair of capture input and capture output objects in a capture session.

AVCaptureAudioChannel

An object that monitors average and peak power levels for an audio channel in a capture connection.