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
357 stars 77 forks source link

Scene switch to Previous? #171

Open koerby opened 1 month ago

koerby commented 1 month ago

Where can i config the previous scene for switch on start? It's always the same scene like "normal"

b3ck commented 1 month ago

so in the config you have these options:

    "switchToStartingSceneOnStreamStart": false,
    "switchFromStartingSceneToLiveScene": false

Let's take a look at this first one: "switchToStartingSceneOnStreamStart" This means when you start streaming in OBS via the chat command !start it will change to the scene you have here:

    "starting": "STARTING",

And the second one: "switchFromStartingSceneToLiveScene" This means when you start streaming from your phone to your "middleman" server (whether it be in the cloud like belabox cloud or a locally hosted one) it will change to this scene:

      "normal": "LIVE",

That make sense?

koerby commented 1 month ago

Yes, this ist ok, but when my "mobile" stream get's down and reconnected, first they switch to [previous] and then to [normal], but its the same scene? where can i change the [previous] scene?

07T05:26:47.551463Z INFO noalbs::chat::chat_handler: executed command: Start 2024-08-07T05:27:21.756229Z INFO NOALBS:Switcher: noalbs::switcher: Switcher running 2024-08-07T05:27:22.767023Z INFO NOALBS:Switcher: noalbs::switcher: Scene switched to [Normal] Mobile_live 2024-08-07T05:27:32.848029Z INFO NOALBS:Switcher: noalbs::switcher: Scene switched to [Offline] Mobile_Offline 2024-08-07T05:27:38.928385Z INFO NOALBS:Switcher: noalbs::switcher: Scene switched to [Previous] Mobile_live 2024-08-07T05:27:49.960887Z INFO NOALBS:Switcher: noalbs::switcher: Scene switched to [Normal] Mobile_live

715209 commented 1 month ago

Hi, the previous scene is automatically set to the last used switchable scene. You can't manually set it