Rawtoh Rawtoh / Docs

OBS Module

Full OBS Studio control — scenes, sources, audio, streaming, recording, and more.

The OBS module connects OBS Studio to Rawtoh via the OBS WebSocket protocol. It gives you full control over your scenes, sources, audio, streaming, and recording — all from your automations.

Events

The OBS module emits events for everything that happens in OBS Studio. Use these as triggers to react automatically.

Scenes

Event Description
scene.current_changedActive scene changed
scene.preview_changedPreview scene changed (studio mode)
scene.createdNew scene created
scene.removedScene removed

Streaming & recording

Event Description
stream.state_changedStreaming started / stopped
record.state_changedRecording started / stopped
replay_buffer.savedReplay buffer saved
virtualcam.state_changedVirtual camera toggled

Sources & inputs

Event Description
input.mute_state_changedSource muted / unmuted
input.volume_changedSource volume changed
scene_item.enable_state_changedSource visibility toggled
scene_transition.startedScene transition started
media_input.playback_startedMedia started playing
media_input.playback_endedMedia finished playing

What you can do

Call these methods from your actions to control OBS:

Scenes

Sources & inputs

Streaming & recording

Filters & transitions

Other

Example automations