NOALBS / nginx-obs-automatic-low-bitrate-switching

Simple app to automatically switch scenes in OBS based on the current bitrate fetched from the NGINX stats page.
http://noalbs.com
MIT License
365 stars 77 forks source link

srt-live-server parse stats page #41

Closed Mutanter closed 4 years ago

Mutanter commented 4 years ago

Hi, first of all thanks for sharing your great project! When used with nginx everything works as it supposed to, however I have problems using the srt-livestream-server as stats input. The bitrate-switcher configuration currently looks like this:

"rtmp": {
        "server": "srt-live-server",
        "stats": "http://127.0.0.1:8181/stats",
        "publisher": "input/live/test"
    },

When the status page is called manually, everything looks fine, as the attached image shows: srt-stats

Nevertheless the bitrate-switcher seems to have problems to parse the status page as it reports: [OBS] » × error [STATS] Something went wrong at getting the RTMP server, did you enter the correct name in the config?

Maybe I'm doing wrong? Thanks in advance!

Mutanter commented 4 years ago

nvm, was using an "old" version ;) everything is fine!