Skip to content

NOALBS not reading STATS | Keeps switching to OFFLINE scene and doesn's show !BITRATE in chat #178

@tillsmc

Description

@tillsmc

Cheers!

I'm currently trying to set up an IRL Stream and configured my OBS 30.2.3 with NGINX 1.17.10, RTMP Module 1.2.1 and NOALBS 2.11.2.

Everything seems to be working, except the Auto Switcher and "!bitrate" command in twitch chat. Even though the RTMP stream is up and running, NOALBS always changes the scene to the offline scene and when I type "!bitrate" or "!b" in chat, it responds with "No connection :(".

So it seems like NoAlbs cannot read the stats on http://localhost/stat eventhough I can access it via Browser. I tried to exchange "localhost" with my IP, but that didn't help either.

I found some "closed issues" on this github with similar problems, but those solutions didn't help. For example, it also doesnt work, when i actually go Live with OBS.

I've searched for hours by now, and I wasn't able to find any solutions on the web. So, Thank you in advance for your help!

Attached you'll find my config.json (with sensitive information replaced with "XXXX":

  "user": {
    "id": null,
    "name": "715209",
    "passwordHash": null
  },
  "switcher": {
    "bitrateSwitcherEnabled": true,
    "onlySwitchWhenStreaming": false,
    "instantlySwitchOnRecover": true,
    "autoSwitchNotification": true,
    "retryAttempts": 5,
    "triggers": {
      "low": 450,
      "rtt": 1500,
      "offline": 400
    },
    "switchingScenes": {
      "normal": "IRL LIVE STREAM RTMP",
      "low": "BLACK",
      "offline": "IRL BE RIGHT BACK"
    },
    "streamServers": [
	{
        "streamServer": {
          "type": "Nginx",
          "statsUrl": "http://localhost/stat",
          "application": "publish",
          "key": "live"
        },
        "name": "nginx",
        "priority": 1,
        "overrideScenes": {
          "normal": "normal",
          "low": "low",
          "offline": "offline"
        },
        "dependsOn": null,
        "enabled": true
      }
    ]
  },
  "software": {
    "type": "Obs",
    "host": "localhost",
    "password": "XXXX",
    "port": 4455,
    "collections": {
      "twitch": {
        "profile": "Till",
        "collection": "TILL IRL"
      }
    }
  },
  "chat": {
    "platform": "Twitch",
    "username": "XXXX",
    "admins": ["XXXX"],
    "language": "EN",
    "prefix": "!",
    "enablePublicCommands": true,
    "enableModCommands": true,
    "enableAutoStopStreamOnHostOrRaid": true,
    "announceRaidOnAutoStop": true,
    "commands": {
      "Fix": {
        "permission": "Mod",
        "userPermissions": ["715209"],
        "alias": ["f"]
      },
      "Switch": {
        "permission": "Mod",
        "userPermissions": null,
        "alias": ["ss"]
      },
      "Bitrate": {
        "permission": null,
        "userPermissions": null,
        "alias": ["b"]
      }
    }
  },
  "optionalScenes": {
    "starting": "IRL STREAM STARTING",
    "ending": "IRL STREAM ENDING",
    "privacy": "PRIVACY",
    "refresh": "REFRESH"
  },
  "optionalOptions": {
    "twitchTranscodingCheck": false,
    "twitchTranscodingRetries": 5,
    "twitchTranscodingDelaySeconds": 15,
    "offlineTimeout": null,
    "recordWhileStreaming": false,
    "switchToStartingSceneOnStreamStart": false,
    "switchFromStartingSceneToLiveScene": false
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions