NetStreamDrawable

public protocol NetStreamDrawable : AnyObject

An interface that manages the NetStream content on the screen.

  • Specifies the orientation of AVCaptureVideoOrientation.

    Declaration

    Swift

    var orientation: AVCaptureVideoOrientation { get set }
  • Specifies the position of AVCaptureDevice.

    Declaration

    Swift

    var position: AVCaptureDevice.Position { get set }
  • The videoFormatDescription which is the current CMSampleBuffer.

    Declaration

    Swift

    var videoFormatDescription: CMVideoFormatDescription? { get }
  • Attaches a drawable to a new NetStream object.

    Declaration

    Swift

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

    Declaration

    Swift

    func enqueue(_ sampleBuffer: CMSampleBuffer?)