The screen encoder is responsible to write data to the video streamer from its own thread (which will be added later).