The new streamer class is a direct subclass from vprocess and is meant to be used as ancestor class for other classes. It waits for the process to set and change the self._processed_frame attribute and then creates a stream using the video-streamer. Taking charge of everything concerning the stream including streaming on the correct port and generating unique stream ids.
Spawner has been modified, so that it will directly check if your process is a subclass of Streamer and chooses a port for streaming in that case.
The new streamer class is a direct subclass from
vprocess
and is meant to be used as ancestor class for other classes. It waits for the process to set and change theself._processed_frame
attribute and then creates a stream using thevideo-streamer
. Taking charge of everything concerning the stream including streaming on the correct port and generating unique stream ids.Spawner
has been modified, so that it will directly check if your process is a subclass ofStreamer
and chooses a port for streaming in that case.