Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AVCaptureConnectionMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: An AVCaptureConnection object represents a connection between capture input and capture output objects associated with a capture session.
Notes:
Capture inputs (instances of AVCaptureInput) have one or more input ports (instances of AVCaptureInputPort). Capture outputs (instances of AVCaptureOutput) can accept data from one or more sources (for example, an AVCaptureMovieFileOutput object accepts both video and audio data).

You can only add an AVCaptureConnection instance to a session using addConnection: if canAddConnection: returns true. When using addInput or addOutput, connections are formed automatically between all compatible inputs and outputs. You only need to add connections manually when adding an input or output with no connections. You can also use connections to enable or disable the flow of data from a given input or to a given output.

Feedback, Comments & Corrections

Video Orientation Constants

Constant Value Description
AVCaptureVideoOrientationLandscapeLeft 4 Indicates that video should be oriented horizontally, top on the right.
AVCaptureVideoOrientationLandscapeRight 3 Indicates that video should be oriented horizontally, top on the left.
AVCaptureVideoOrientationPortrait 1 Indicates that video should be oriented vertically, top at the top.
AVCaptureVideoOrientationPortraitUpsideDown 2 Indicates that video should be oriented vertically, top at the bottom.

Video Field Modes

Constant Value Description
AVVideoFieldModeBoth 0 Indicates that both top and bottom video fields in interlaced content should be passed through.
AVVideoFieldModeBottomOnly 2 Indicates that the bottom video field only in interlaced content should be passed through.
AVVideoFieldModeDeinterlace 3 Indicates that top and bottom video fields in interlaced content should be deinterlaced.
AVVideoFieldModeTopOnly 1 Indicates that only the top video field in interlaced content should be passed through.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some events for this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS AVFoundation Plugin.


AVCaptureAudioPreviewOutputMBS   -   AVCaptureDeviceFormatMBS




Links
MBS Xojo PDF Plugins