Posted April 3Apr 3 comment_4 🔍 General DescriptionThe 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.⚠️ RequirementsOBS 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🛠️ ConfigurationCreate 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.⚙️ FunctionsFunctionDescriptionmainInitializes and tests the WebSocket connection to OBS.switchSceneSwitches to a specific OBS scene. Requires scene as parameter.startRecordingStarts local recording in OBS.stopRecordingStops the current recording session.startStreamStarts the live stream.stopStreamStops the ongoing stream.muteSourceMutes a specific audio input. Requires source as parameter.unmuteSourceUnmutes a muted audio input. Requires source as parameter.refreshBrowserSourceRefreshes a browser source. Requires source as parameter.💬 Example Commands🎬 Switch SceneKeyValuescriptobsControlfunctionswitchScenesceneIntro🔇 Mute SourceKeyValuescriptobsControlfunctionmuteSourcesourceMicrophone🌐 Refresh Browser SourceKeyValuescriptobsControlfunctionrefreshBrowserSourcesourceOverlayBrowser @BlackRider Founder · Lead Developer · System AdministratorDevelopment · Infrastructure · Feature Design · Community & Project Management🔗 My links & socials
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.