Basic setup of a streaming server in RTMP and HLS, plus an HTTP web server with video player with admin section and unique sessions
- Configure Apache2 to make the web server run
- Install nginx server and plugin
sudo apt install nginx
sudo add-apt-repository universe
sudo apt install libnginx-mod-rtmp
- Configure Nginx to create a RTMP/HLS server. See nginx-config.md
- Restart nginx:
sudo systemctl restart nginx
- Edit config.php to change admin password
- Navigate to /admin to create a session
- Stream to the indicated url
- Use the generated session URL to play the live stream
- I suggest you implement a better admin section protection/login system. This is for demo only
- Web stream is HTTP only for now, no HTTPS