Protect HTTP media stream created by mjpg-streamer
Creating HTTP stream is getting easy through mjpg-streamer. Well, somehow you want to protect it from outsider, similar to what I mentioned when streaming HTTP with VLC.
What you need to do is to add -c option with username and password for HTTP basic authentication for the output_http.so plugin.
$ mjpg-streamer -i ‘./input_uvc.so -y’ -o ‘./output_http.so -c petehouston:secret’
Have fun :)
For more tutorials, please visit: http://blog.petehouston.com/