This server sends a .mjpg stream to the specified ports. There are three different versions of the server.
- Implementation from the raspberry pi camera doc
- Only encrypted version without password, for testing purposes
- Version with encryption and password
You need to connect a raspberry pi camera (CSI).
For 2. and 3. it is nessecary to create the self-signed certificate first. When creating the certificate in the same folder use:
openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
In script 3. at line 110 and 111 you can find the password and username used for login.
Credits to simple-https-server.
As part of this little project I also created a simple android app to get the stream.
Feel free to reuse everything you find here.