RawFramePullPush
class RawFramePullPush(frameProcessor: IProcessor<RawFrame>, val onFrame: suspend (RawFrame) -> Unit, bufferPool: ByteBufferPool, processDispatcher: CoroutineDispatcher)(source)
A component that pull a frame from an input and push it to onFrame output.
Parameters
frameProcessor
the frame processor
onFrame
the output frame callback
bufferPool
the ByteBuffer pool
processDispatcher
the dispatcher to process frames on
Constructors
Link copied to clipboard
constructor(frameProcessor: IProcessor<RawFrame>, onFrame: suspend (RawFrame) -> Unit, bufferPool: ByteBufferPool, processDispatcher: CoroutineDispatcher)