IOVideoCaptureUnit
@available(tvOS 17.0, *)
public final class IOVideoCaptureUnit : IOCaptureUnit
An object that provides the interface to control the AVCaptureDevice’s transport behavior.
-
Undocumented
Declaration
Swift
public typealias Output = AVCaptureVideoDataOutput
-
The default color format.
Declaration
Swift
public static let colorFormat: OSType
-
The default color format.
-
The current video device object.
Declaration
Swift
public private(set) var device: AVCaptureDevice? { get }
-
Specifies the video capture color format.
Warning
If a format other than kCVPixelFormatType_32ARGB is set, the multi-camera feature will become unavailable. We intend to support this in the future.Declaration
Swift
public var colorFormat: OSType
-
The track number.
Declaration
Swift
public let track: UInt8
-
The input data to a cupture session.
Declaration
Swift
public private(set) var input: AVCaptureInput? { get }
-
The output data to a sample buffers.
Declaration
Swift
public private(set) var output: Output? { get set }
-
The connection from a capture input to a capture output.
Declaration
Swift
public private(set) var connection: AVCaptureConnection? { get }
-
Specifies the videoOrientation indicates whether to rotate the video flowing through the connection to a given orientation.
Declaration
Swift
public var videoOrientation: AVCaptureVideoOrientation { get set }
-
Spcifies the video mirroed indicates whether the video flowing through the connection should be mirrored about its vertical axis.
Declaration
Swift
public var isVideoMirrored: Bool { get set }
-
Specifies the preferredVideoStabilizationMode most appropriate for use with the connection.