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 79 forks source link

Bitrate 0 but status OK #173

Open enrik90h opened 3 months ago

enrik90h commented 3 months ago

Hi,

I'm testing a belabox with rtmp pipeline. If I start the transmission to my srt server and the localhost rtmp data is not received, either because I disconnect or because I am not connected yet, I receive on my SRT server the status OK but with bitrate 0, and noalbs goes crazy with Live - BRB - Live - BRB - Live - BRB.

SRT Status every 5 seconds: {"publishers":{"live/test/Testing111":{"bitrate":0,"bytesRcvDrop":0,"bytesRcvLoss":0,"mbpsBandwidth":12.0,"mbpsRecvRate":0.0,"msRcvBuf":0,"pktRcvDrop":0,"pktRcvLoss":0,"rtt":23.702,"uptime":0}},"status":"ok"}

Can I modify something in noalbs so that it doesn't happen? Do I have to do it on my srt server?

Or modify the belabox pipeline so that it doesn't happen?

715209 commented 3 months ago

Hi @enrik90h ,

What do you have your triggers set to?

enrik90h commented 3 months ago
"triggers": {
  "low": 500,
  "rtt": 1000,
  "offline": 280
},