updated mjpeg to allow multiple streams