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.

sourceDevicePosition

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

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.