Stream to OBS
Send your PC's screen and game sound to OBS Studio on your own computer. Record it, or go live from there.
Start a stream
- Start your PC and wait for Ready to play.
- Select Stream to OBS on its card.
- Select Start stream. A secret URL appears after a few seconds.
- Select Copy URL.
Every Start makes a new URL. Anyone with it can watch until you select Stop stream. Don't share it.
One OBS can watch at a time. If OBS disconnects, the same URL works again until you stop.
Add it in OBS
- In Sources, select +, then Media Source.
- Untick Local File.
- Paste the URL into Input, then select OK.
- Record or go live as usual.
The stream is encrypted (SRT with AES). VLC opens the same URL with Open Network (in the Media menu on Windows, File on Mac).
Speed and data
The stream shares your PC's upload speed with your game stream. Your game always comes first.
| Plan | OBS stream | Uses | Plan upload |
|---|---|---|---|
| Bronze | 720p · 60 fps | 2 Mbps | 10 Mbps |
| Silver | 1080p · 60 fps | 4 Mbps | 18 Mbps |
| Gold | 1440p · 60 fps | 10 Mbps | 30 Mbps |
The OBS picture can blur when your game needs the full speed. Lower Moonlight's bitrate a little if you want both sharp. The stream counts toward your data.
FPS overlay
Press Right Shift + F12 in a game to show or hide the FPS counter. It shows in your game stream and in OBS. It works in Vulkan games, which includes most Windows games on Steam (Proton) and most emulators.
Window capture
Playing and recording on the same computer? You don't need a URL. Capture the Moonlight window, or the browser tab if you play in the browser. This uses no extra data, and the picture is as sharp as your game stream.
- Windows 10 (2004 or newer) and 11: add Window Capture and pick Moonlight. Add Application Audio Capture for its sound.
- macOS 13 or newer: add macOS Screen Capture, choose the Moonlight window, and turn on its audio.
- Linux: add Window Capture (X11) or Screen Capture (PipeWire), plus your desktop audio.
If OBS shows nothing
- Copy the URL again. An old URL stops working after Stop or a new Start.
- Close any other OBS that uses the same URL.
- Allow outgoing UDP port 9000 on your network.