NetStreamDrawable
public protocol NetStreamDrawable : AnyObject
An interface that manages the NetStream content on the screen.
-
Specifies the orientation of AVCaptureVideoOrientation.
Declaration
Swift
var videoOrientation: AVCaptureVideoOrientation { 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?)