The desired output frame rate.
The output MediaStream
as a result of processor executions.
It is possible, but unlikely, that this accessor will throw.
Lists of processors to execute to produce output media stream.
Adds VideoFrameProcessorPipelineObserver observer to receive lifecycle and performance callback.
Destroys the pipeline, processors, intermediate buffers and input stream.
Returns an active output stream.
Returns the current input MediaStream
.
Removes VideoFrameProcessorPipelineObserver observer.
Sets the input for the pipeline. An active MediaStream
will start the processing steps.
To stop the pipeline, null
can be passed.
To switch MediaSteam
, the pipeline must be stopped first.
Stops the pipeline.
Generated using TypeDoc
VideoFrameProcessorPipeline facilitates video processing by transforming a input
MediaStream
with an array of VideoFrameProcessor to anotherMediaStream
. It invokes the execution of VideoFrameProcessor in interval specified byframerate
.