IOStreamView

public protocol IOStreamView : AnyObject

An interface that manages the IOStream content on the screen.

  • Specifies the orientation of AVCaptureVideoOrientation.

    Declaration

    Swift

    var videoOrientation: AVCaptureVideoOrientation { get set }
  • Specifies the capture video preview enabled or not.

    Use AVCaptureVideoPreviewLayer as an internal implementation. You can verify that there is no delay in cinema mode. However, you cannot confirm the filter state.

    Declaration

    Swift

    @available(tvOS 17.0, *)
    var isCaptureVideoPreviewEnabled: Bool { get set }
  • Attaches a drawable to a new NetStream object.

    Declaration

    Swift

    func attachStream(_ stream: IOStream?)
  • Enqueue a CMSampleBuffer? to draw.

    Declaration

    Swift

    func enqueue(_ sampleBuffer: CMSampleBuffer?)