Stream
public class Stream : Input
Stream input provides ability to push BNBFrameData
or CVPixelBuffer
into the video processor.
Uses synchronous processor, so frames cannot be dropped in case of Player
latency.
-
Create stream input
Declaration
Swift
public init()
-
Declaration
Swift
public func frameProcessor() -> BNBFrameProcessor?
-
Declaration
Swift
public func push(frameData: BNBFrameData?)
-
Declaration
Swift
public func push(pixelBuffer: CVPixelBuffer, orientation: BNBCameraOrientation = .deg0, fieldOfView: Float = 55.0)