OBS
The OBS integration lets the room manager control OBS Studio on the streaming machine from Confo. Starting a talk switches the stream to the talk scene and starts recording. Ending a talk switches back to the break scene, stops recording and names the recording after the talk.
Confo talks to OBS through the OBS bridge, a small Node.js program that runs on the streaming machine next to OBS. The bridge connects out to Confo, so the streaming machine does not need to be reachable from the internet.
Requirements
- OBS Studio 28 or newer (it includes the WebSocket server)
- Node.js 24 on the streaming machine
- One bridge per room. If one machine streams several rooms, run one bridge per room, each from its own folder.
OBS Setup
Enable the WebSocket server
In OBS, open Tools → WebSocket Server Settings, check Enable WebSocket server and note the port (default 4455) and password.
Enable Studio Mode
Click Studio Mode in the Controls dock. Confo prepares the next scene in Preview and then triggers the transition, so Studio Mode must stay on.
Create the scenes
Confo switches between two scenes by name. Create them with exactly these names (case-sensitive):
| Scene | Shown | Browser source URL |
|---|---|---|
break | Between talks | https://<your-confo-host>/screen/break/<roomId> |
slides-detail | During a talk | https://<your-confo-host>/screen/talk-details-slides/<roomId> |
Add a Browser source with the matching URL to each scene. The screen links for every room are listed in the admin under Events → your event → Screens. Set the browser source size to match the stream size from the event CSS (--stream-width × --stream-height, 2560×1440 by default).
In slides-detail, place your camera and slides capture sources over the green chroma areas of the browser source. Source names don't matter, only the two scene names.
Recording output
Recordings go wherever OBS is configured to save them (Settings → Output → Recording). After a recording stops, the bridge renames the file to <pretalx code> <speaker>.<ext>, for example ABC123 Jane Doe.mkv. If the talk has no pretalx code, the original file name is kept.
Running the Bridge
1. Get the room ID and bridge key
In the admin, open Events → your event:
- Bridge key: the 12-word key in the OBS bridge key section. Generate one if the event doesn't have it yet.
- Room ID: open the room. The ID is the last part of the URL (
/admin/events/<eventId>/rooms/<roomId>).
2. Download the bridge
Download confo-obs-bridge.mjs from the latest OBS bridge release. It is a single file with everything included, so there is nothing to install.
Put it in its own folder, for example ~/confo-bridge/. The bridge stores its configuration in the folder you run it from.
3. Start it
cd ~/confo-bridge
node confo-obs-bridge.mjs
On the first run, a setup wizard asks for:
| Prompt | Value |
|---|---|
| Confo host | Your Confo URL, default https://confo.live |
| Room ID | The room ID from step 1 |
| Bridge key | The 12 words from step 1. Press Tab to autocomplete a word. |
| OBS host | 127.0.0.1 if OBS runs on the same machine |
| OBS port | The WebSocket port, default 4455 |
| OBS password | The WebSocket password |
The answers are saved to bridge-config.json next to the bridge, and later runs start without asking. To change the settings, edit or delete that file.
When everything works, the bridge logs:
[OBS] Connected to OBS WebSocket
[Backend] Connected to https://confo.live
[Backend] Identified as roomId: <roomId>
The bridge reconnects automatically if OBS or Confo goes away, so it can be started before OBS.
Troubleshooting
Authentication failed: the bridge key or room ID is wrong, or the key was regenerated. Deletebridge-config.jsonand run the wizard again.[OBS] Connection failed: connect ECONNREFUSED: OBS isn't running, or its WebSocket server is disabled or on a different port.- Starting a talk does nothing: check that Studio Mode is on and the scenes are named exactly
breakandslides-detail. - Recordings are not renamed: the bridge must run on the same machine that saves the recordings.