Network Setup & Troubleshooting Guide
This guide covers network configuration, firewall settings, and solutions to common issues when running OBS HomeRun.
Table of Contents
- Network Requirements & Multicast (SSDP)
- Firewall Configuration
- Wi-Fi & Router Settings
- Troubleshooting Common Issues
1. Network Requirements & Multicast (SSDP)
OBS HomeRun emulates a physical HDTV tuner over UPnP/DLNA using SSDP (Simple Service Discovery Protocol).
- Multicast Address:
239.255.255.250 - Multicast Port:
1900(UDP) - HTTP Tuner & DLNA Port:
5004(TCP) - OBS Ingest Port:
1935(TCP - RTMP)
⚠️ Critical: Host Networking Required:
When running the container, you must use--net=host(ornetwork_mode: host/ QuadletNetwork=host). Bridge networks isolate the container's UDP broadcast domain, preventing SSDP multicast packets from reaching your physical home network.
2. Firewall Configuration
If your PC runs a software firewall, ensure ports 1900/udp, 5004/tcp, and 1935/tcp are allowed.
Fedora / Red Hat / Bazzite (firewalld)
# Allow SSDP multicast discovery
sudo firewall-cmd --permanent --add-port=1900/udp
# Allow HTTP virtual tuner & DLNA streaming
sudo firewall-cmd --permanent --add-port=5004/tcp
# Allow OBS RTMP streaming ingest
sudo firewall-cmd --permanent --add-port=1935/tcp
# Reload firewall rules
sudo firewall-cmd --reloadUbuntu / Debian (ufw)
sudo ufw allow 1900/udp comment "OBS HomeRun SSDP"
sudo ufw allow 5004/tcp comment "OBS HomeRun DLNA"
sudo ufw allow 1935/tcp comment "OBS HomeRun RTMP"
sudo ufw reloadWindows Defender Firewall (PowerShell)
Run PowerShell as Administrator:
New-NetFirewallRule -DisplayName "OBS HomeRun SSDP" -Direction Inbound -Protocol UDP -LocalPort 1900 -Action Allow
New-NetFirewallRule -DisplayName "OBS HomeRun DLNA HTTP" -Direction Inbound -Protocol TCP -LocalPort 5004 -Action Allow
New-NetFirewallRule -DisplayName "OBS HomeRun RTMP Ingest" -Direction Inbound -Protocol TCP -LocalPort 1935 -Action AllowmacOS Firewall & Local Network Privacy
- macOS Application Firewall: Open System Settings → Network → Firewall → Options... and ensure
obs-homerunandmediamtxare permitted to accept incoming connections. - Local Network Permission (macOS 15 Sequoia / Sonoma): When prompted with “obs-homerun would like to find devices on local networks”, select Allow.
💡 Detailed Container Hosting Instructions: For step-by-step guides using Docker, Podman, and NAS platforms across all OSs, see the 🐳 Container Hosting Guide.
3. Wi-Fi & Router Settings
Smart TV discovery issues are almost always caused by home router multicast suppression. Verify these settings in your router's admin console:
- AP / Client Isolation (Must be DISABLED):
- Setting names: AP Isolation, Client Isolation, or Guest Network Isolation.
- If enabled, wireless devices cannot see or communicate with other devices on your LAN.
- IGMP Snooping (Must be ENABLED):
- Allows switches and Wi-Fi access points to route multicast packets directly to subscribing devices.
- Multicast Enhancement / IGMP Proxy (ENABLE if available):
- On Asus, Netgear, or Ubiquiti routers, enable Multicast Enhancement or Enable Wireless Multicast Forwarding to ensure Wi-Fi connected TVs receive SSDP announcements.
- Subnet Matching:
- Your PC and Smart TV must be on the same local subnet (e.g.
192.168.1.xxx / 24). If your PC is on Ethernet and your TV is on Wi-Fi, ensure your router does not isolate wired and wireless traffic into separate VLANs.
- Your PC and Smart TV must be on the same local subnet (e.g.
💡 Wired Ethernet Advantage (vs. Wireless Casting): Unlike wireless casting protocols (such as Miracast or AirPlay) that require peer-to-peer wireless proximity and suffer from RF interference, OBS HomeRun routes cleanly across your local network infrastructure. Streaming across wired Ethernet switches delivers a rock-solid, zero-packet-loss broadcast with crisp text and zero frame drops.
4. Troubleshooting Common Issues
Issue 1: TV Does Not Discover OBS HomeRun
- Symptom: OBS HomeRun does not appear in the TV's Inputs, Home Dashboard, or Media Server list.
- Checks:
- Verify container is running with host networking:
Ensure port 5004 is accessible from another device on your network:podman ps # or docker pscurl http://<YOUR-PC-IP>:5004/discover.json - Verify SSDP listener is active:
ss -u -a | grep 1900 - Check router AP Isolation: Ensure Wi-Fi client isolation is disabled.
- Force TV Network Rediscovery: Turn off the TV, unplug power for 10 seconds (power cycle to clear TV UPnP cache), and turn it back on.
- Verify container is running with host networking:
Issue 2: Playback Stalls or Shows Infinite Loading Spinner
- Symptom: The stream connects for 2–5 seconds, then pauses, buffers, or spins the loading wheel.
- Checks:
- Keyframe Interval in OBS:
Ensure OBS Keyframe Interval is explicitly set to1 s(not0or auto). The TV's hardware decoder needs frequent IDR recovery frames to maintain sync. - B-frames in OBS:
Set Max B-frames to0. B-frames require decoder reordering buffers that can stall live broadcast streams on some TV chipsets. - Increase Jitter Buffer:
If on 2.4GHz Wi-Fi with micro-packet loss, increase the buffer safety duration:
(Default isEnvironment=BUFFER_SECONDS=4.03.0seconds).
- Keyframe Interval in OBS:
Issue 3: Video is Smooth but No Audio
- Symptom: Video plays smoothly at 60fps, but the TV is silent.
- Checks:
- Audio Codec Setting:
By default,obs-homeruntranscodes audio to AC-3 (Dolby Digital), the native standard for broadcast HDTV. EnsureAUDIO_CODEC=ac3is set (or left at default). - OBS Audio Sample Rate:
Set OBS Settings → Audio → Sample Rate to48 kHz. Broadcast decoders often mute or reject 44.1 kHz feeds. - Audio Device Active in OBS:
Ensure the OBS audio mixer shows green/yellow level activity on the Desktop Audio track.
- Audio Codec Setting:
Issue 4: Desktop Canvas is Zoomed or Cropped
- Symptom: Desktop edges or taskbar are cut off on the TV screen.
- Checks:
- OBS Transform Reset:
In OBS, click your screen capture source in the preview window and pressCtrl + R(Reset Transform), followed byCtrl + F(Fit to Screen). - TV Aspect Ratio Setting:
On your TV, open Picture / Display settings and set Aspect Ratio toOriginal,Just Scan,Fit to Screen, or1:1 Pixel Mapping(depending on TV brand). Disable 16:9 Overscan or Zoom.
- OBS Transform Reset:
Issue 5: Flatpak OBS Cannot Connect to RTMP
- Symptom: OBS fails to connect with "Failed to connect to server" when streaming to
rtmp://localhost:1935/live. - Fix:
Flatpak sandboxes isolatelocalhost. Change the OBS Stream Server to your PC's LAN IP:
Or grant OBS network access via Flatseal.rtmp://192.168.1.xxx:1935/live