Repository navigation
OBS WebSocket Setup
OBS WebSocket lets OpenLaunchDeck control OBS directly. It is more reliable than sending game hotkeys for replay clips, screenshots, scenes, source visibility, and mute state.
In OBS Studio:
- Open Tools > WebSocket Server Settings.
- Enable the WebSocket server.
- Keep the default port
4455unless another application already uses it. - Enable authentication for normal use.
- Save or copy the password.
- Leave OBS running.
OpenLaunchDeck defaults:
Host: 127.0.0.1
Port: 4455
Timeout Ms: 3000
Use 127.0.0.1 when OBS is on the same computer. Do not expose OBS WebSocket to the internet.
Use a harmless OBS operation first:
- Label:
Screen - Action: OBS WebSocket
- Operation:
save_screenshot - Host:
127.0.0.1 - Port:
4455 - Password: the OBS WebSocket password
- Screenshot Source: blank
- Screenshot Folder:
%USERPROFILE%\Videos - Screenshot Format:
png
Click Test Action. A successful test proves the host, port, password, and basic request path work.
OBS names are case-sensitive and must match what OBS displays.
| OpenLaunchDeck field | Where to find it in OBS |
|---|---|
| Scene Name | Scenes panel |
| Source Name | Sources panel inside the scene |
| Input Name | Audio Mixer name |
| Screenshot Source | Scene or source to capture; leave blank for the current program scene |
If a camera appears in several scenes, configure the scene that contains the source you want to change.
| Operation | Result |
|---|---|
save_replay_buffer |
Saves a replay; can start the buffer on the first press |
start_replay_buffer |
Starts the replay buffer |
stop_replay_buffer |
Stops the replay buffer |
save_screenshot |
Saves the chosen source or current program scene |
start_recording |
Starts recording |
stop_recording |
Stops recording |
start_streaming |
Starts streaming after mandatory confirmation |
stop_streaming |
Stops streaming |
switch_scene |
Changes the program scene |
show_source |
Makes a source visible |
hide_source |
Hides a source |
toggle_source |
Reverses source visibility |
mute_input |
Mutes an OBS input |
unmute_input |
Unmutes an OBS input |
toggle_input_mute |
Reverses mute state |
Before testing:
- Open Settings > Output > Replay Buffer in OBS.
- Enable the replay buffer.
- Configure replay length and recording path.
- Apply settings.
Recommended button:
- Label:
Clip - Color:
purple - Operation:
save_replay_buffer - Start Replay Buffer If Needed: on
- Replay Verify Timeout Ms:
10000
Behavior:
- If the buffer is stopped, the first press starts it and reports that result.
- If the buffer is active, the press requests a save.
- OpenLaunchDeck waits for OBS to report a real replay file before showing success.
If OBS accepts the request but no file appears, restart the replay buffer and verify the OBS recording path.
Recommended button:
- Label:
Screen - Color:
cyan - Operation:
save_screenshot - Screenshot Source: blank
- Screenshot Folder:
%USERPROFILE%\Videos - Screenshot Format:
png
A blank source captures the current program scene. A blank folder uses the OBS recording directory when OBS reports one, then falls back to the Windows Videos folder.
Switch scene:
- Operation:
switch_scene - Scene Name: exact destination scene
Toggle a camera or overlay:
- Operation:
toggle_source - Scene Name: scene containing the source
- Source Name: exact source name
Use show_source and hide_source when separate on/off buttons are clearer than a toggle.
Toggle an OBS microphone or desktop-audio input:
- Operation:
toggle_input_mute - Input Name: exact Audio Mixer name
Use mute_input and unmute_input when you need separate state-setting buttons.
These actions control OBS input state. They do not mute the microphone globally in Windows or another voice application.
start_streaming always requires a deliberate second press, even if the button's Dangerous option was not enabled. Immediate duplicate hardware messages cannot count as the confirmation press.
Still mark both start and stop stream buttons Dangerous, place them on a separate page, and test them only when going live is safe.
See Streaming Safety.
The password field is masked in the editor, but the value is stored in the local profile JSON so the button can reconnect. Treat exported profiles containing a password as sensitive.
| Error | Check |
|---|---|
| Connection refused | OBS is open, WebSocket is enabled, host and port match |
| Authentication failed | Password matches current OBS WebSocket settings |
| Scene/source not found | Exact spelling and correct scene |
| Input not found | Exact Audio Mixer name |
| Replay did not appear | Replay buffer active, recording path writable, verify timeout long enough |
| Screenshot did not appear | Source exists and destination folder is writable |
For more, open Troubleshooting.
Start
Build Your Deck
Streaming And Audio
Help And Reference