Guide · about 10 minutes
How to set up OBS with ViewSwitcher
ViewSwitcher sets up OBS for you. This guide goes through it once, from installing both apps to your first stream, and what to do if something doesn't show up.
1. Install OBS and ViewSwitcher
OBS is the free app that does the streaming. ViewSwitcher tells it what to show and where your camera and screen go, so you keep streaming to YouTube, Facebook, Twitch or wherever you go live today.
- Download OBS from obsproject.com and open it once.
- Download ViewSwitcher, drag it to Applications and open it. It needs macOS 14 Sonoma or later.
2. Turn on OBS's WebSocket server
This is how ViewSwitcher talks to OBS. In OBS, choose Tools → WebSocket Server Settings and turn on Enable WebSocket server. Leave the port as it is. ViewSwitcher finds it and connects by itself, even with a password set, since it reads OBS's settings on the same Mac.
Until then, ViewSwitcher shows this card and "OBS offline" at the top:

3. Press Set up OBS
Once OBS is connected, the card changes to Set up OBS. Press it, and ViewSwitcher adds one scene to OBS and switches to it:
OBS scene "ViewSwitcher"
- ViewSwitcher Programa browser source showing the view on air, on top
- Camera · Screen · iPadyour devices, moved and cropped into each view's boxes
- ViewSwitcher Grounda color source behind everything, in your show's color
Your other scenes in OBS stay as they are. If OBS is already streaming or recording, ViewSwitcher asks first and leaves OBS on the scene it's showing.
4. Add your camera and screen
Now add your devices to the "ViewSwitcher" scene in OBS (the + under Sources), with exactly these names. ViewSwitcher lists the ones it's still missing.
| Name in OBS | Source type | What it is |
|---|---|---|
| Camera | Video Capture Device | Your main camera: the Mac's own, a USB webcam, or a capture card |
| Screen | macOS Screen Capture | The screen or window you share: slides, a browser, a game |
| Guest | Video Capture Device | Optional: a second camera, for views with a guest box |
| iPad | Video Capture Device | Optional: an iPad's screen over its cable, to draw or show apps |
Then press Set up OBS again. That puts the program page back on top of the sources you added. Don't have an iPad? Press Not now and ViewSwitcher stops asking.
From here on, ViewSwitcher moves these sources. Each view says where its camera and screen boxes are, and when you switch, ViewSwitcher moves and crops the sources into them. You don't need a separate OBS scene for each layout.
5. Go live
Tell OBS where to stream once: Settings → Stream, then pick YouTube, Facebook, Twitch or another service and connect your account or paste the stream key. Then, in ViewSwitcher:
- Under Projects, press + to make one for your show, and pick the views it uses.
- Add a stream for today, with its date and title. Next week is a new stream, and the views stay the same.
- Click Starting soon, then Go Live and confirm. OBS starts streaming and the button reads Live. Rec records at the same time, if you want a copy.
- Click views as the show goes. The one on air has a red outline.
- End on your goodbye view, then press Live to stop streaming.

To change a title or move a box, press Edit. Right-click or double-click text to retype it and drag boxes where you want them. If the view is on air, viewers see the change as you make it, so there's an Edit a copy instead button too.

Troubleshooting
ViewSwitcher says OBS is offline
Check that OBS is open and that Enable WebSocket server is on in Tools → WebSocket Server Settings. If you changed its port, change it back to 4455.
The view is blank in OBS
In OBS, open Settings → Advanced, turn off Enable Browser Source Hardware Acceleration, and restart OBS. On some versions of macOS and OBS, the browser source stays blank with it on.
My camera or screen isn't in the view
The source has to be in the "ViewSwitcher" scene and named exactly Camera, Screen or Guest, with the same capital letter. Rename it in OBS, then press Set up OBS again. If a view has a box for a source OBS doesn't have, ViewSwitcher shows a warning that names it.
The screen capture is black
macOS needs to let OBS record the screen. Open System Settings → Privacy & Security → Screen & System Audio Recording, turn OBS on, and restart OBS.
The views cover my camera, or my camera covers the views
Press Set up OBS again. It puts the program page back on top and the background color at the bottom, with your devices in between.
Still stuck? See Support, or ask on GitHub with what you expected to happen.