How It Works
The scene switching feature connects to OBS via WebSocket and listens for game start and end events from Slippi:Game Scene
Automatically switches when a game begins
No-Game Scene
Switches back when the game ends
Game Start Detection
When a game starts, boofstream switches to your configured game scene:Game End Detection
When a game ends, boofstream switches to your no-game scene:Scene switching respects LRAS game resets - the scene won’t flicker when players restart a game quickly.
OBS WebSocket Connection
Boofstream uses theobs-websocket-js library to communicate with OBS:
Connection Setup
Connect to OBS with your configured settings:OBS must have the WebSocket plugin enabled and accessible. By default, boofstream connects to
127.0.0.1:4455.Configuration Options
Scene switching behavior is controlled by your boofstream config:doSwitch
Master toggle for automatic scene switching
host
OBS WebSocket server address and port
password
Authentication password if WebSocket is secured
Scene Names
Exact names of scenes to switch between
Connection Status
Boofstream tracks OBS connection status in the application state:obsConnected is true.
User Workflow
Initial Setup
- Enable OBS WebSocket: In OBS, go to Tools → WebSocket Server Settings
- Configure boofstream: Enter your OBS host, password, and scene names
- Connect: Click “Connect to OBS” in the boofstream UI
- Test: Start a game to verify scene switching works
During Streaming
- Enable Switching: Toggle “Auto Switch Scenes” in settings
- Game Starts: OBS automatically switches to your game scene
- Game Ends: OBS switches back to your no-game scene
- Manual Override: You can still manually switch scenes in OBS
Scene switching happens instantly when game state changes, typically within 1-2 frames of the game starting or ending.
Common Use Cases
Tournament Streams
Switch from crowd/player cam to gameplay automatically
Netplay Sets
Show your facecam between games, hide during matches
Commentary Focus
Display commentators between games, full gameplay during
Multi-Setup Events
Reduce production workload by automating scene changes
Troubleshooting
Connection Issues
If OBS won’t connect:- Verify WebSocket server is enabled in OBS
- Check that the host and port match your OBS settings
- Ensure the password is correct (if you set one)
- Try restarting both OBS and boofstream
Scene Not Switching
If scenes don’t change:- Confirm
doSwitchis enabled in config - Verify scene names exactly match OBS scene names
- Check that
obsConnectedshows astruein the UI - Look for connection errors in the boofstream console
You can disable automatic scene switching at any time without disconnecting from OBS by toggling the
doSwitch setting.