Network Switch
Use this guide if you have both PCs plugged into a network switch.
⚠️ INSTALL THE FOLLOWING ON THE GAMING PC ⚠️
1) Download/Install OBS
2) OBS Settings
Video Settings:
Navigate to OBS Settings -> Video.
Base (Canvas) & Output (Scaled) Resolution: 1280x720 @ 144/240 or 1920x1080 @ 60/120. Note that the higher the resolution and FPS, the more bandwidth you would need. So it is best to stick to 720p 144 or 240.
Fractional FPS: At least
80/1 to 240/1

Navigate to OBS Settings -> Output -> Recording.
At the top, change the output mode to "Advanced"
Type = Custom Output (FFmpeg)
FFmpeg Output Type = Output to URL
File path or URL = udp://"your_script_pc_ip":"the_port_you_select"
The port can be whatever port you want. Examples include "1234", "2341", "1111", etc.
Container Format = mpjpeg (Video)
If mpjpeg lags, then try mpgets instead as the container format.
Video Bitrate can be any value between 10000 Kbps to 150000 Kbps. The higher the bitrate the more lag can potentially be introduced. The lower the bitrate the more compressed the image will be.
Keyframe interval = 0
Video Encoder = mjpeg - MJPEG (Motion JPEG) (Default Encoder)

Advanced Settings:
Navigate to OBS Settings -> Advanced
Color Format:
NV12
Game Capture:
In the "Sources" panel of OBS, press the '+' icon and select game capture.
In game capture properties, for mode select "Capture Specific Window". You will then select the game you want. (The game has to be open already)
Center it to the canvas by pressing Game Capture in Sources and then pressing
CTRL + D.
Finally, Right click on the preview and select the option to disable the preview. and then click "Start Recording" to start the UDP stream.
Fixing OBS when it's stuck looking for sources after a restart:
1️⃣ Check Network Connection
Make sure both PCs are on the same network (wired preferred).
Both PCs should be on Ethernet. If one is on Wi-Fi, this could cause issues.
Open Command Prompt (Win + R → type
cmd→ Enter)Try pinging the other PC:
Example:
If this fails, your PCs aren’t communicating over the network.
2️⃣ Check if Gaming PC is On Private
Windows 10 Click Start →
Settings. Go to Network & Internet → Status. Click Change connection properties under your active network. Under Network profile, select Private (instead of Public).
Windows 11 Click Start →
Settings. Go to Network & Internet. Click either Wi-Fi or Ethernet (whichever you’re using). Click the connected network name. Under Network profile type, choose Private.
3️⃣ Check Firewall (Most Common Issue)
Disable Windows Firewall (temporarily for testing)
On both PCs:
Press Win + R, type
firewall.cpl, press Enter.Click Turn Windows Defender Firewall on or off.
Select Turn off Windows Defender Firewall for both Public & Private networks.
If turning off the firewall fixes it, then re-enable it and manually allow OBS on the Gaming PC:
Go back to firewall.cpl.
Click Allow an app or feature through Windows Defender Firewall.
Find and check:
obs64.exe
Disable Windows Firewall (temporarily for testing)
If turning off the firewall fixes it, then re-enable it and manually allow Moonlight.exe on the Script PC:
Go back to firewall.cpl.
Click Allow an app or feature through Windows Defender Firewall.
Find and check:
Moonlight.exe
4️⃣ Install .net runtime
Install, then try again after a PC restart.
5️⃣ Restart Everything in This Order
Turn off both PCs completely.
Power cycle the router/modem and switch (unplug for 10 seconds, then plug back in).
Start the sending PC first.
Start the receiving PC.
Open OBS on Gaming PC.
After trying these steps, your source should show up. If it’s still not working, let us know!
Last updated