Troubleshooting
YouTube Live Stream Keeps Disconnecting? 9 Causes and Fixes
Nine causes of YouTube Live disconnections and their fixes: bandwidth rules, Wi-Fi, encoder overload, keyframes, ISP throttling, auto-reconnect.
Few things burn a streamer's nerves like the "Stream health: No data" warning — or worse, finding out from a viewer comment that your stream died two hours ago. Disconnections are almost never random: they have a small set of causes, and each one has a specific fix.
This guide covers the 9 causes that account for nearly every YouTube Live disconnect, ordered roughly by how often they're the culprit. Work down the list; most streams are fixed by cause #1, #2, or #3.
First, understand what a "disconnect" is
Your encoder (OBS, ffmpeg, a hardware box, or a cloud service) holds a continuous RTMP connection to YouTube's ingest at rtmp://a.rtmp.youtube.com/live2. A disconnect means that TCP connection broke or stalled long enough for YouTube to stop receiving data. Two consequences follow:
- Short drop: if the encoder reconnects with the same (persistent) stream key within YouTube's grace window — roughly a minute or two — the same broadcast continues. Viewers see buffering, then recovery.
- Long drop: miss the window and the broadcast ends. With the default stream key a reconnect starts a fresh broadcast, but you've lost your concurrent viewers and your spot in the live shelf.
So every fix below serves one of two goals: stop the drops, or make reconnection fast enough that drops don't matter.
Cause 1: Your upload bandwidth can't sustain the bitrate
Symptom: recurring "Stream health: Bad" warnings, frames dropped in OBS's status bar, disconnects during evening hours (when your neighborhood shares the ISP's capacity).
The rule of thumb: your stable upload speed should be at least 1.5–2× your streaming bitrate. Streaming 1080p at 6,000 kbps needs a consistent 9–12 Mbps up — not a peak speedtest number. Speedtests measure a 15-second burst; streams need hour 14 of sustained throughput.
Fixes:
- Test sustained upload (run a speedtest several times across the day, or upload a large file and watch the graph).
- Drop your bitrate: 1080p30 is fine at 4,500 kbps; 720p at 3,000 kbps looks respectable and halves your requirement.
- Stop other upstream users while live: cloud backups (Google Photos, OneDrive), torrent seeding, other people's video calls.
Cause 2: Wi-Fi
Symptom: disconnects with no pattern, especially in apartments; stream drops when the microwave runs or when you move the laptop.
Wi-Fi packet loss of even 1–2% wrecks RTMP, which is TCP-based: lost packets trigger retransmissions, the send buffer backs up, and the encoder eventually gives up. Fix: cable it. A ₹300 Ethernet cable ends more streaming disconnects than any settings change ever will. If Ethernet is truly impossible, move to 5 GHz, put the router in line of sight, and accept that you've chosen elevated risk.
Cause 3: Encoder overload (your PC can't keep up)
Symptom: OBS shows "Encoding overloaded!", frame time spikes, the stream stutters before dropping — often minutes into a game or hours into a long session as thermals build.
Fixes:
- Use your GPU encoder (NVENC/AMF/QSV) instead of x264 on a CPU that's also doing other work.
- Lower the x264 preset (veryfast → superfast), resolution (1080p → 936p/720p), or frame rate (60 → 30).
- Watch temperatures on long streams — dusty coolers throttle after hours even if the first hour was fine.
- Close capture-heavy extras (browser with 40 tabs, RGB software, duplicate capture tools).
Cause 4: Wrong keyframe / encoder settings YouTube rejects or struggles with
Symptom: stream connects, then YouTube shows poor health or drops it within minutes; quality randomly degrades.
YouTube's RTMP ingest wants H.264 video, AAC audio, and a keyframe every 2 seconds (max 4). Common violations: keyframe interval set to 0/"auto" (some encoders emit sparse keyframes), B-frame or profile oddities from "optimized" presets, VFR (variable frame rate) sources, or sending 60fps at a bitrate meant for 30.
Fixes: in OBS set Keyframe Interval to 2s explicitly, profile high, CBR rate control; re-export any VFR source file to constant frame rate. The complete settings table is in YouTube 24/7 Live Stream Requirements.
Cause 5: ISP throttling or CGNAT weirdness
Symptom: disconnects at suspiciously regular intervals (every ~4 hours, or daily at the same time), or streams that always die after N hours despite perfect local stats.
Some ISPs deprioritize sustained upstream flows, reset long-lived TCP connections, or rotate CGNAT mappings — any of which kills an RTMP session. Diagnose: if your OBS logs show clean local performance but the connection resets on a schedule, suspect the ISP. Fixes: ask the ISP for a public IP / non-CGNAT plan, try streaming to YouTube's RTMPS endpoint (rtmps://a.rtmps.youtube.com/live2 — encrypted traffic is sometimes treated differently), or move the streaming workload off your home line entirely (VPS or cloud service).
Cause 6: Router and firewall issues
Symptom: streams die after exactly the same duration each time, or the whole household's internet hiccups when the stream starts.
Budget routers with small NAT tables drop long-lived connections; "gamer" QoS features throttle sustained uploads; double-NAT setups (ISP modem + your router) time out mappings. Fixes: reboot the router (seriously — NAT table exhaustion is real), disable aggressive QoS/traffic-shaping for the streaming machine, put the ISP modem in bridge mode, and make sure outbound TCP 1935 (RTMP) and 443 (RTMPS) aren't filtered.
Cause 7: Power management and OS interruptions
Symptom: the overnight stream is dead at 7 a.m.; logs show the machine slept, rebooted for updates, or a laptop's Wi-Fi card powered down.
Fixes (Windows): set the power plan to never sleep, disable "Allow the computer to turn off this device" on the network adapter, pause/schedule Windows Update outside streaming hours, and disable fast startup. macOS: disable sleep and Power Nap while on power. Laptops streaming on battery power settings are a classic silent killer.
Cause 8: Stream key conflicts and platform-side issues
Symptom: stream flaps up and down while "everything is fine" locally, or ends the moment another device goes live.
Two encoders pushing to the same stream key fight for the connection — YouTube accepts one and drops the other, repeatedly. This happens with forgotten test setups, a phone app going live, or a cloud service still running while you start OBS. Fixes: ensure only one encoder uses a key at a time (create separate custom keys in YouTube Studio for separate setups); reset the key if you suspect it leaked. And occasionally the problem genuinely is YouTube — check the platform's status/known-issues pages and Twitter before tearing your setup apart.
Cause 9: No automatic reconnection when something does fail
On a long enough timeline, something will blip — a 20-second ISP hiccup at 3 a.m. is inevitable. The difference between a non-event and a dead broadcast is whether your encoder reconnects instantly.
Fixes:
- OBS: Settings → Advanced → Automatically Reconnect (enable; retry delay 2s, max retries 25+).
- ffmpeg/VPS setups: ffmpeg does not retry by itself — wrap it in a shell loop or a systemd unit with Restart=always so a crashed process relaunches within seconds.
- Consider the backup ingest (rtmp://b.rtmp.youtube.com/live2?backup=1) for critical events — YouTube fails over automatically between the two feeds.
If you're running 24/7: the structural fix
Notice that causes 1, 2, 5, 6, and 7 are all properties of home infrastructure, not of streaming itself. For interactive streams you have no choice — you're physically at home with your camera. But if your stream is a pre-recorded loop (radio, ambience, replays), you can remove the whole class of problems by moving the broadcast to a datacenter. That's the core argument for cloud streaming: a service like StreamNeo pushes your uploaded video to YouTube from servers with redundant power and multi-gigabit uplinks, and its automatic crash recovery reconnects within YouTube's grace window when anything does blip — the same broadcast simply continues. It won't help an interactive OBS stream (your camera is still at home), but for loops it turns this entire article into someone else's checklist. See How to Stream 24/7 on YouTube Without a PC for that setup.
A 10-minute diagnostic routine
- Check OBS's stats panel: dropped frames (network) vs. skipped frames (encoder) tells you whether the problem is bandwidth (causes 1/2/5/6) or the PC (cause 3).
- Read the OBS log (Help → Log Files) for "Disconnected"/reconnect entries and encoder warnings.
- Run a 30-minute test at half your usual bitrate. Stable? It's bandwidth. Still dropping? Look at settings, router, power management.
- Swap Wi-Fi for Ethernet and retest before touching anything else.
- If drops recur on a fixed schedule, log timestamps for a week — regular intervals point to ISP/router causes, random ones to bandwidth/thermals.
And if the stream you keep resuscitating is a 24/7 loop, consider skipping the home-infrastructure battle entirely: StreamNeo's free demo slot (email verification required) lets you test a datacenter-hosted version of the same stream today — if the disconnects vanish, you've found your diagnosis and your fix in one move.
FAQ
Why does my YouTube stream disconnect every few minutes?
Rapid, repeating disconnects are usually insufficient sustained upload bandwidth or Wi-Fi packet loss. Halve your bitrate and switch to Ethernet; if the problem disappears, size your bitrate to roughly half your worst-case upload speed. Two encoders sharing one stream key produce the same symptom — make sure nothing else is live on your key.
Will my broadcast end immediately if my encoder disconnects?
No. YouTube holds the broadcast open for a short grace window (about a minute or two). If your encoder auto-reconnects with the same persistent stream key inside that window, the same stream continues and viewers just see brief buffering.
What are dropped frames vs. skipped frames in OBS?
Dropped frames = the network couldn't carry your bitrate (bandwidth, Wi-Fi, ISP, router). Skipped/lagged frames = your encoder couldn't produce frames on time (CPU/GPU overload, thermals). The distinction tells you which half of this list to work through.
What bitrate should I use to stop disconnections?
Set bitrate to at most half your sustained upload speed. Practical safe points: 3,000–4,500 kbps for 1080p30, 2,500–3,000 kbps for 720p. A stable 720p stream beats a stuttering 1080p one for both viewers and the algorithm.
Why does my 24/7 stream always die overnight?
Usually OS power management, scheduled Windows updates, ISP maintenance windows, or router NAT-table resets — all home-infrastructure issues. Check the machine's event log for sleep/reboot events at the timestamp of the drop. If overnight drops persist, that stream is a strong candidate for cloud hosting.
Does using RTMPS instead of RTMP help with disconnects?
Sometimes. RTMPS (rtmps://a.rtmps.youtube.com/live2, port 443) encrypts the stream so middleboxes and some ISP traffic-shapers treat it like ordinary HTTPS. It costs a little CPU and it's worth trying if you suspect throttling of port-1935 traffic.