OBS Studio
Controls OBS Studio: switch scenes, record, stream, mute a source, show or hide one, save the replay buffer, the virtual camera, or any request of OBS's WebSocket protocol. OBS must be running with its WebSocket server on (Tools > WebSocket Server Settings).
In the editor, press Space on the canvas to add a step, then open Actions > Audio & media, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Action
A choiceScene
TextThe scene's name as OBS shows it.
Source
TextThe source's name as OBS shows it, e.g. Mic/Aux.
Request
TextThe request's name, e.g. SetCurrentSceneTransition.
Request data
TextIts data as JSON, sent as typed, e.g. {"transitionName": "Fade"}.
Address
Text RequiredOBS's WebSocket server: OBS 28 and later have it built in (Tools > WebSocket Server Settings), on port 4455.
Password
TextThe server password from OBS's WebSocket Server Settings. Stored as a password.
Time limit (ms)
A duration More optionsFor connecting and OBS's answer. 0 waits as long as it takes.
Where it continues
- OK: Continues here when OK is clicked.
- Failed: Continues here when it fails; the reason is in the run log.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| Response | Text | OBS's answer as JSON (empty for requests that answer nothing). |
| Error | Text | Why it failed; empty when it worked. |
Good to know
- Fields marked as passwords keep their value in the Windows password vault, never in the macro.