Follow the Picam install for setting up an HLS stream on nginx.
Then, clone this repo into your nginx folder where you want to serve the web viewer.
cd /var/www/html
sudo git clone https://github.com/kamranayub/picam-viewer.git .
IMPORTANT: The
.
at the end is important!
Used by my guide on creating a RPi baby monitor.
Based on video.js and videojs-contrib-hls