VideoDeviceUnit

@available(tvOS 17.0, *)
public final class VideoDeviceUnit : DeviceUnit

An object that provides the interface to control the AVCaptureDevice’s transport behavior.

  • The output type that this capture video data output..

    Declaration

    Swift

    public typealias Output = AVCaptureVideoDataOutput
  • The default color format.

    Declaration

    Swift

    public static let colorFormat: OSType
  • The current video device object.

    Declaration

    Swift

    public private(set) var device: AVCaptureDevice? { get }
  • Specifies the video capture color format.

    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.