1. Install nginx-rtmp from AUR 2. Replace /etc/nginx/nginx.conf 3. cd / ; mkdir /HLS ; cd /HLS ; mkdir live ; mkdir /var/www 4. Place index.html in /var/www 5. systemctl enable nginx ; sytemctl start nginx 6. chmod +x desktop-stream.sh 7. ./desktop-stream.sh 8. Test urls: - with vlc rtmp://localhost/live - with serviio dlna: rtmp://localhost/live swfVfy=0 live=1