Simple app to automatically switch scenes based on the current bitrate on the nginx stats page.
Uses OBS plugin obs-websocket.
git clone <repository-url>
- Change into the new directory.
npm install
- Replace your
nginx.conf
with the one given here. - Put
stat.xsl
in your nginx folder.
Edit config.json
to your own settings.
Run the node app by running: node app
. Then stream to rtmp://IPHERE/publish/live
Make sure the node app is running. It won't allow you to connect to the rtmp without it.