improved video streamer, can now encode on the fly