Class

AVCaptureInputPort

A specific stream of data provided by a capture input.

Declaration

@interface AVCaptureInputPort : NSObject

Overview

Instances of AVCaptureInput have one or more input ports, one for each data stream they can produce. For example, an AVCaptureDeviceInput object presenting one video data stream has one port.

Topics

Inspecting an Input Port

enabled

Indicates whether the port is enabled.

input

The input object that owns the port.

mediaType

The port’s media type.

formatDescription

A description of the port format.

clock

An object representing the capture device’s own clock.

sourceDeviceType

The device type of the source camera providing the photo.

Beta
sourceDevicePosition

The position of the source device providing input through this port.

Beta

Notifications

AVCaptureInputPortFormatDescriptionDidChangeNotification

Posted if the value of the capture input port’sformatDescription property changes.

Relationships

Inherits From

See Also

Accessing Ports

ports

The capture input’s ports.

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