AVCaptureInputPort Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AVFoundation.framework
Availability
Available in iOS 4.0 and later.
Declared in
AVCaptureInput.h
Related sample code

Overview

An AVCaptureInputPort represents a stream of data from a capture input.

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

Tasks

Properties

Properties

enabled

Indicates whether the port is enabled.

@property(nonatomic, getter=isEnabled) BOOL enabled
Availability
  • Available in iOS 4.0 and later.
Declared In
AVCaptureInput.h

formatDescription

A description of the port format. (read-only)

@property(nonatomic, readonly) CMFormatDescriptionRef formatDescription
Discussion

Availability
  • Available in iOS 4.0 and later.
Declared In
AVCaptureInput.h

input

The port’s input. (read-only)

@property(nonatomic, readonly) AVCaptureInput *input
Discussion

Availability
  • Available in iOS 4.0 and later.
Declared In
AVCaptureInput.h

mediaType

The port’s media type. (read-only)

@property(nonatomic, readonly) NSString *mediaType
Discussion

Availability
  • Available in iOS 4.0 and later.
Declared In
AVCaptureInput.h

Notifications

AVCaptureInputPortFormatDescriptionDidChangeNotification

Posted if the formatDescription of the capture input port changes.
Availability
Declared In
AVCaptureInput.h

Did this document help you? Yes It's good, but... Not helpful...