added support for mjpeg streaming from cameras