Skip to content

OBS Event

  • Trigger
  • Audio & media
  • Advanced mode

Starts the macro when something happens in OBS Studio: the scene changes, recording or streaming starts or stops, or any OBS event by its name. MacroWin stays connected to OBS while the macro is enabled and reconnects when OBS starts again.

In the editor, press Space on the canvas to add a step, then open Triggers > Audio & media, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Event

A choice
  • Scene changed
  • Recording started
  • Recording stopped
  • Streaming started
  • Streaming stopped
  • Any event by name: An event of OBS's WebSocket protocol, e.g. InputMuteStateChanged.

Starts as: Scene changed

Event name

Text

As OBS's protocol names it, e.g. InputMuteStateChanged.

Starts as: empty

Address

Text Required

OBS's WebSocket server: OBS 28 and later have it built in (Tools > WebSocket Server Settings), on port 4455.

Starts as: ws://127.0.0.1:4455

Password

Text

The server password from OBS's WebSocket Server Settings. Stored as a password.

Starts as: empty Starts as a password

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.

OBS Event outputs
OutputGivesWhat it is
SceneTextThe scene switched to (Scene changed); empty otherwise.
EventTextOBS's name for the event, e.g. RecordStateChanged.
DataTextThe event's data as JSON.

Good to know

  • Wait for Event can wait for it in the middle of a macro, with the same settings.
  • Fields marked as passwords keep their value in the Windows password vault, never in the macro.

More in Audio & media