🔍 General Description
The OBS Control mod allows seamless interaction with OBS Studio via the official WebSocket API. It lets you remotely control streaming, recording, scene switching, and audio sources – directly from within the aiostool environment.
This mod is ideal for automation workflows, bot triggers, or external control systems integrated into your stream setup.
⚠️ Requirements
OBS Studio with the obs-websocket plugin installed
(OBS v28+ includes it by default)OBS WebSocket server must be running and accessible (e.g.
ws://localhost:4455
)A config file named
obs-config.json
must be present in the mod directoryOBS must be running when commands are triggered
🛠️ Configuration
Create a file named obs-config.json
in your mod’s config folder with the following structure:
{
"host": "ws://localhost:4455",
"password": "YOUR_PASSWORD"
}
This tells the mod how to connect to your OBS WebSocket server.
⚙️ Functions
Function | Description |
---|---|
| Initializes and tests the WebSocket connection to OBS. |
| Switches to a specific OBS scene. Requires |
| Starts local recording in OBS. |
| Stops the current recording session. |
| Starts the live stream. |
| Stops the ongoing stream. |
| Mutes a specific audio input. Requires |
| Unmutes a muted audio input. Requires |
| Refreshes a browser source. Requires |
💬 Example Commands
🎬 Switch Scene
Key | Value |
---|---|
script | obsControl |
function | switchScene |
scene | Intro |
🔇 Mute Source
Key | Value |
---|---|
script | obsControl |
function | muteSource |
source | Microphone |
🌐 Refresh Browser Source
Key | Value |
---|---|
script | obsControl |
function | refreshBrowserSource |
source | OverlayBrowser |
What's New in Version 1.1.1
See changelogReleased
Updated to new aiostool version