IOVideoCaptureUnit

public class IOVideoCaptureUnit : IOCaptureUnit

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

  • The default videoSettings for a device.

    Declaration

    Swift

    public static let defaultVideoSettings: [NSString : AnyObject]
  • The current video device object.

    Declaration

    Swift

    public private(set) var device: AVCaptureDevice? { 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.

    Declaration

    Swift

    @available(macOS, unavailable)
    public var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode { get set }