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 plugin.

$ mjpg-streamer -i ‘./ -y’ -o ‘./ -c petehouston:secret’

Have fun :)

Code / Design / Love @

Code / Design / Love @