Skip to content

The OBS connection lets you control your streaming software from NomNomzBot. You can switch a scene from the dashboard, mute an input while handling a problem, or let a command or reward run an OBS action through a pipeline. The OBS page brings those controls together with the connection status.

An overlay browser source displays the bot’s output inside OBS. This connection does a different job: it sends control requests to OBS itself. You can set up browser sources without granting the bot remote control of your stream.

The page has three tabs.

TabWhat it holds
LiveThe outputs, the scenes, the audio mixer and the sources of the scene on air.
Studio and toolsStudio mode, OBS hotkeys and source screenshots.
Overlays in OBSThe overlays to add to OBS as browser sources, explained on OBS browser source.

Who can use this page

Different parts of the page need different roles. The roles are explained on Permissions.

WhatWho may do it
Open the page and see the scenes and sourcesA Moderator and up
Switch scenes, change sources, audio, studio mode and hotkeysAn Editor and up. The broadcaster may lower this to a moderator.
Start and stop the stream and the recordingThe Broadcaster
See the health line at the top, and change the link to OBSThe Broadcaster. Other roles do not see the line.

Without the right to control OBS, the page shows “Controlling OBS needs the Editor role or the OBS control permission.” The controls then stay visible but are grayed out.

OBS has its own remote-control server, the OBS WebSocket server. The bot connects to it.

Use OBS Studio with its WebSocket server enabled; OBS includes it in version 28 and later. The computer running the bot must be able to reach the OBS computer at the host and port you enter. If the bot runs in Docker, 127.0.0.1 refers to its container rather than automatically reaching the streaming PC.

  1. In OBS, open Tools, then WebSocket Server Settings. Turn the server on, and note the port and the password.
  2. In the dashboard, open OBS in the sidebar and choose Link OBS at the top of the page. The OBS connection dialog opens.
  3. Type the address of the computer that runs OBS in Host, and the port in Port.
  4. Type the OBS WebSocket password in OBS password.
  5. Turn on Link to OBS at the top of the dialog.
  6. Choose Save connection. The dialog closes. The top line shows Connected with a green dot once OBS answers.

The bot keeps trying until OBS answers. It waits 2 seconds after a failed try, and doubles the wait each time, up to 60 seconds. While the link is on, the button at the top reads Edit connection. While the link is off, it reads Link OBS.

Before relying on an automated action, check that the Scenes panel lists the same scenes as OBS. While you are preparing the stream, choose a scene and confirm that OBS changes to it. That checks control of the intended OBS instance; a green connection badge alone cannot tell you that you entered the right computer.

FieldWhat it doesDefault
Link to OBSSwitches the link on or off.Off
HostWhere the bot finds OBS. 127.0.0.1 is the computer the bot itself runs on. An empty box is saved as 127.0.0.1.127.0.0.1
PortThe port of the OBS WebSocket server, from 1 to 65535.4455, the OBS default
OBS passwordThe OBS WebSocket password. The box is always empty when it opens.None
OBS events to listen toThe kinds of OBS events the bot receives.Every group on, except the four marked “(high volume)”
OBS events to listen to

The bot receives events from OBS, such as a scene change or the end of a recording. You can use them in event responses.

The 15 event groups are switches under OBS events to listen to, below the password in the OBS connection dialog. The 4 groups marked “(high volume)” send many events per second, so they are off by default. Turn one on only when a widget needs it.

Only the broadcaster sees the line at the top of every tab. It shows two things, each with a colored dot. The first is the link to OBS. The second is the browser source bridge: a hidden page that runs inside OBS as a browser source.

A red dot beside OBS also shows the last error from OBS. Without a red dot, the line shows the host and port.

Words beside OBSDotWhat it means
The link to OBS is switched offGrayLink to OBS is off.
The link to OBS failedRedThe last try to reach OBS gave an error.
Linked, but OBS did not answerOrangeThe link is on, but OBS did not answer when the page asked for its state or scenes.
ConnectedGreenOBS answers.

The OBS connection dialog also shows Last error and Last connected, when the bot has them.

The bridge is the OBS control row on the Overlays in OBS tab. When the bot reaches OBS through its WebSocket server, the bridge is not needed, and the line says “No bridge page is open in OBS. Only browser sources need it.”

Control OBS through the bridge

Use the bridge when OBS runs on another computer that the bot cannot reach. The bridge is a 1 x 1 browser source page that lets the bot control OBS scenes and sources.

  1. Open the Overlays in OBS tab.
  2. On the OBS control row, choose Copy address.
  3. In OBS, add the address as a browser source, and keep it open.

Changing the OBS link needs the right to change it. Without it, the row says “Needs permission to change the OBS link.”

When the link uses the bridge, the top line shows:

  • An orange dot and “No bridge page is open in OBS” when no bridge page is open.
  • “{count} open, none is leading” or “{count} open, one is leading” when pages are open.

The page title also carries one dot for the whole page. It shows the worst problem it finds: the link, the bridge, or an overlay that is not loaded or failed. When all is well, it reads Everything is loaded.

Go live and record

The Outputs panel on the Live tab has one row per output, with its state and how long it has run.

RowButtonsStates
StreamGo live, or Stop streamOff air, Live
RecordingStart or Stop, and while recording Pause or Resume and Split fileNot recording, Recording, Paused
Replay bufferStart or Stop, and while it runs Save clipRunning, Stopped
Virtual cameraStart or StopRunning, Stopped

Stop stream asks first, with the dialog Stop the stream?. It says that OBS ends the broadcast on every platform it streams to. It also says that a recording keeps running. Choose Stop stream in the dialog to end it.

Only the broadcaster may use the Stream and Recording buttons. Others see “Starting and stopping the stream or a recording needs the broadcast control permission.”

While the link is on, the Live tab also shows a status line from OBS. It shows the stream and recording state with their timers (the stream reads Live, Reconnecting or Off), then Bitrate, Dropped frames, Skipped (render), CPU, FPS, Memory and Congestion.

Switch scenes

The Scenes panel lists the scenes OBS reports. The scene on air is marked On air. Choose a scene to put it on air.

Change sources and audio

PanelWhat you can do
Sources in the sceneShow or hide a source of the scene on air, lock or unlock it, and turn its filters on or off.
Audio mixerMute or unmute an audio source, and move its level slider.

Studio and tools

PanelWhat you can do
Studio modeTurn on Preview before air to use studio mode. The Transition picker works at any time. With studio mode on, pick the Preview scene, set Duration (seconds), and choose Transition to put the preview on air. The panel shows only while the link is on.
HotkeysPress an OBS hotkey, as if you pressed it in OBS. Search the hotkeys finds one.
Source screenshotPick a source and an Image format, then choose Capture to see a picture of it.

Control OBS from other places

The dashboard page is not the only way to control OBS.

  • A pipeline has 19 OBS steps, such as switching a scene, starting the recording or saving a replay. A command, a reward, an event response or a timer can run it.
  • A Stream Deck key can run the same OBS actions, as Stream Deck and API devices explains.

When an OBS action cannot run because OBS is not connected, the dashboard can show the notice “OBS is not connected”. This covers OBS actions that a widget, a script, or a trigger bound directly to one OBS action ran. It does not cover a step inside a multi-step pipeline. It counts the actions that could not run, keeps them in the event journal, and clears when OBS connects again. Its Open OBS button opens this page.

When the link is on, the bot also refreshes an open overlay browser source that has no connection to the bot. It refreshes only a source that is switched on in a scene and shows an overlay that is switched on. OBS browser source explains the overlay side.

Troubleshooting

When something is not right

The top line shows “The link to OBS failed”. Open Edit connection and read Last error. Check that the OBS WebSocket server is on, and that Host, Port and OBS password match OBS.

When something is not right

The panels say “Scenes show once the OBS link is switched on.” Link to OBS is off. Choose Link OBS, turn it on and choose Save connection.

When something is not right

The bot runs on another computer and never connects. 127.0.0.1 points at the computer the bot runs on, not at your streaming PC. Type the address of the computer that runs OBS in Host, and make sure that computer lets the bot reach the port. If the bot cannot reach that computer at all, use the OBS control bridge instead (see “Control OBS through the bridge” above).