The abstract superclass for objects that output the media recorded in a capture session.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
class AVCaptureOutput : NSObject
Overview
AVCapture
is an abstract base class describing an output destination of an AVCapture
object.
AVCapture
provides an abstract interface for connecting capture output destinations, such as files and video previews, to a capture session (an instance of AVCapture
). A capture output can have multiple connections represented by AVCapture
objects, one for each stream of media that it receives from an AVCapture
. 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 AVCapture
instances to a capture session using add
.