Module stream_processor

Source
Expand description

Interface to CodecFactory

Structsยง

StreamProcessor
Struct representing a CodecFactory . Input sent to the encoder via StreamProcessor::write_bytes is queued for delivery, and delivered whenever a packet is full or StreamProcessor::send_packet is called. Output can be retrieved using an StreamProcessorStream from StreamProcessor::take_output_stream.
StreamProcessorOutputStream
An StreamProcessorStream is a Stream of processed data from a stream processor. Returned from StreamProcessor::take_output_stream.