Class

AVCaptureInput

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

Declaration

class AVCaptureInput : NSObject

Overview

To associate an AVCaptureInput object with a session, call addInput(_:) on the session.

AVCaptureInput objects have one or more ports (instances of AVCaptureInput.Port), one for each data stream they can produce. For example, an AVCaptureDevice object presenting one video data stream has one port.

Topics

Accessing Ports

class AVCaptureInput.Port

A specific stream of data provided by a capture input.

var ports: [AVCaptureInput.Port]

The capture input’s ports.

Relationships

Inherits From

Conforms To

See Also

Session Configuration

class AVCaptureOutput

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

class AVCaptureConnection

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

class AVCaptureAudioChannel

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

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