Step 1 - Follow install and setup instructions for janus, gst-launch1.0, nginx (and required dependencies)
https://www.rs-online.com/designspark/building-a-raspberry-pi-2-webrtc-camera
./janus -F /opt/janus/etc/janus/
gst-launch-1.0 v4l2src ! 'video/x-raw, width=640, height=480, framerate=30/1' ! videoconvert ! x264enc pass=qual quantizer=20 tune=zerolatency ! rtph264pay ! udpsink host=127.0.0.1 port=8004