A server and a client in python for mjpeg streams for testing
Docker: https://docs.docker.com/engine/install/
One terminal:
docker-compose up -d
python view_mjpeg_stream.py
You can also view the stream with firefox (it has a player predefined) opening the url:
http://localhost:1337/mjpeg_stream
You should see something like this:
Tested with an ipcam and a video stream from the ROS package web_video_server from a simulated robot.