Next Page > Hide TOC

QTCaptureOutput Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/QTKit.framework
Availability
Available in QuickTime 7.2.1 and later.
Declared in
QTCaptureOutput.h

Overview

QTCaptureOutput is an abstract class that provides an interface for connecting capture output destinations, such as QuickTime files and video previews, to a QTCaptureSession. Similar to a QTCaptureInput, a QTCaptureOutput can have multiple connections represented by QTCaptureConnection objects, one for each stream of media that it receives. Unlike a QTCaptureInput, however, a QTCaptureOutput does not have any connections when it is first created. When an output is added to a QTCaptureSession, it creates connections as appropriate so that the session has a destination for all of its input media.

Tasks

Capturing Connections

Instance Methods

connections

Returns an array of connections owned by the receiver that are currently connected to a capture session.

- (NSArray *)connections

Return Value

An array of QTCaptureConnection instances owned by the receiver that are currently connected to a capture session.

Discussion

This class creates a new output connection for each input connection of a matching media type connected to the capture session. The connections method returns an array of connections owned by the receiver that are currently connected to the capture session’s input connections.

Availability
Declared In
QTCaptureOutput.h

Next Page > Hide TOC


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-03-04)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.