The short answer: most of the delay is not in OBS
When customers ask us how to reduce stream delay, they usually hope for one magic setting in OBS. There isn't one. On a typical stream, the encoder adds somewhere between a fraction of a second and a couple of seconds. The rest, often 15 to 30 seconds or more, comes from how the video reaches the viewer: the stream is cut into segments, and the player waits until it holds several of them before it starts, so it can ride out network drops without freezing.
So the honest answer has two parts. First, remove any delay you added by accident, which happens more often than you would think. Second, if viewers still need to be closer to real time, change the delivery: on YouTube and Twitch that is a latency setting, and on your own website it means moving from standard HLS to LL-HLS or WebRTC.
Where the seconds go
Latency is the sum of every step between the camera and the viewer's screen. This is roughly what each step adds on an internet stream, and what you can actually do about it:
| Stage | What adds delay | What you control |
|---|---|---|
| Camera and capture | A few frames | HDMI or SDI instead of wireless video links |
| Encoder | Look-ahead, B-frames and slow presets: from a fraction of a second to about 2 seconds | The OBS settings further down |
| Upload to the server | The network round trip plus the protocol's own buffer | A cable, SRT with a sensible latency value, a nearby server |
| Packaging | A 6-second segment cannot leave the server before 6 seconds of video exist | Segment and part length (LL-HLS) |
| Player buffer | Usually the biggest share: several segments kept in reserve | The delivery protocol and the player's settings |
Look at the last two rows. That is why setting every encoder option to its fastest value can take a 30-second stream to 29 seconds, and nobody notices the difference.
First, check the delay you may have added yourself
Before touching protocols, rule these out. Between them, they explain many of the messages we get about streams running a minute behind.
- OBS Stream Delay. In Settings, Advanced there is a Stream Delay section. When it is enabled, OBS holds the video for the number of seconds you set before sending it. It exists for good reasons (call-in shows, competitive games), but we often find it switched on by mistake. If you do use it, watch the option that preserves the cutoff point when reconnecting: it makes the delay grow every time the stream reconnects. Streamlabs Desktop, which is built on OBS, has the same option in its advanced settings.
- The platform's latency mode. YouTube and Twitch let you choose how much buffer their players keep. If yours is on normal latency, no encoder setting will make up for it.
- A viewer who fell behind. Someone who paused, or whose connection stalled, can end up far behind live. Most players have a live button that jumps back to the live edge.
- Wi-Fi on the encoder. It adds little delay by itself, but its drops cause retransmissions and reconnections that do. Use a cable.
How to reduce stream delay on YouTube
In YouTube Studio, open Create, Go live and, in the stream settings, find Stream latency. There are three options:
- Normal latency: the best picture quality and the least buffering for viewers. The right choice when nobody interacts with you live.
- Low latency: a good middle ground for streams with an active chat.
- Ultra-low latency: the closest to real time, at the cost of more buffering for viewers on weak connections. It does not support 1440p or 4K.
Choose it before you start the stream. On the OBS side nothing changes: same server, same key, same encoder settings. Keep the keyframe interval at 2 seconds, as YouTube asks, and never above 4.
To see what you got, right-click the player while you are live and open Stats for nerds: the live latency line shows YouTube's estimate. Our guide on how to measure stream latency explains how far to trust that figure and how to measure the full delay yourself.
How to reduce stream delay on Twitch
On Twitch it is a single switch. In the Creator Dashboard, go to Settings, Stream and set Latency mode to Low latency. Normal latency is meant for streams where you do not talk with chat in real time, so unless you have a reason to keep it, low latency is the one you want.
If the delay is still long, check the OBS Stream Delay described above: it is the usual suspect when the extra delay is always the same number of seconds. To see the result, click the gear icon on the Twitch player, open Advanced and turn on Video Stats. The Latency To Broadcaster line shows Twitch's estimate in seconds.
And on Discord?
Discord is a different case. Go Live and screen sharing run on WebRTC, the technology built for calls, so the delay is normally well under a second and there is no latency mode to change. When a Discord stream lags, the cause is almost always on the sender's side: an upload that cannot keep up, a CPU or GPU working at its limit, or Wi-Fi. Lower the stream's resolution or frame rate, close whatever is competing for upload and plug in a cable.
OBS settings that cut the encoder's share
Once the delivery is fast (low latency mode on the platform, or LL-HLS or WebRTC on your site), the encoder's share starts to matter. These are the settings we use, in Settings, Output with the output mode set to Advanced:
- Keyframe interval: 2 seconds. Do not leave it at 0, which means automatic: depending on the encoder, it can put keyframes many seconds apart, and a player has to wait for one before it can start. Some low latency setups use 1 second; more than 4 hurts everywhere.
- x264: a faster preset and the zerolatency tune. Choose veryfast or faster and set Tune to zerolatency. That tune turns off look-ahead and B-frames, the parts of the encoder that hold frames back to compress them better.
- NVENC and other hardware encoders. Turn off Look-ahead, set Max B-frames to 0 and choose the Low Latency tuning. The preset (P1 to P7) mostly trades quality for GPU load, so keep the one that does not drop frames.
- Profile: Main or High is fine. You do not need Baseline. What adds delay is B-frames, and you can turn those off in Main or High and keep the better compression.
- Rate control: CBR. A constant bitrate is what YouTube, Facebook and most servers expect, and it keeps the player's buffer predictable.
How much does all this save? Usually somewhere between a few hundred milliseconds and two seconds. That is decisive when the target is 3 seconds and irrelevant when the player is holding 30. If you stream to XtreamCast, our OBS Studio setup guide shows where the server and key go.
RTMP or SRT for the upload
On a good wired connection, the trip from your encoder to the server adds less than people think. The difference between protocols shows up when the network misbehaves. RTMP runs over TCP: when packets are lost, TCP slows down and resends them, video piles up in the encoder's send buffer and, past a certain point, OBS drops frames to catch up. SRT works with a fixed latency window instead: it resends lost packets within that window and keeps the delay constant.
In OBS, SRT goes in Settings, Stream, with the service set to Custom and an srt:// address as the server. The latency parameter in that address is in microseconds, so latency=500000 means 500 ms. SRT's default is 120 ms, which is tight for the public internet. A common rule of thumb is about four times the round trip time to the server, and more if the line loses packets.
On XtreamCast, SRT ingest authenticates with a token in the stream ID, and the panel shows every 10 seconds what is really arriving: protocol, codecs, keyframe interval, frame rate and bitrate. You will find the setup on our SRT server page, and the trade-offs in our comparison of SRT vs RTMP.
On your own website: HLS, LL-HLS or WebRTC
If you stream to your own player instead of a social platform, the delivery protocol decides almost everything. These are the three options on XtreamCast:
| Delivery | Delay | Best for | Trade-off |
|---|---|---|---|
| HLS (every channel) | About 30 seconds | Large audiences and anything without live interaction | The player keeps that margin on purpose: it absorbs network drops before the viewer notices them |
| LL-HLS (add-on per channel) | About 3 seconds | Live chat, Q&A, sports with a second screen | Less margin, so it asks more of the viewer's connection |
| WebRTC playback (add-on per channel) | Up to 0.3 seconds, never guaranteed | Auctions, classes and interactive groups | One quality for everyone, no automatic fallback to HLS, not meant for mass audiences |
LL-HLS costs USD 20/month per channel, and our team activates it on your channel without you changing anything in your encoder. WebRTC playback costs USD 20/month. Both are add-ons on paid video plans. We go deeper into each one in our guides to low latency HLS and WebRTC streaming for interactive video, and you can compare them side by side on the low-latency streaming page.
When you should not chase low latency
Low latency is a trade: you give up buffer, and buffer is what protects viewers from freezes. If your audience only watches (a church service, a concert, a conference without live questions), a 30-second delay costs you nothing and buys a smoother stream on bad networks. We have seen customers pay for low latency and then field complaints about stuttering from viewers on mobile data.
It is worth it when the delay changes what happens: bids arriving late, questions answered half a minute after they were asked, a quiz that closes before viewers have even seen the question. Before you decide, measure what you have today, because the number is often not the one you assumed. The free plan includes RTMP and SRT ingest and HLS delivery, which is enough to measure your baseline on your own setup.
Bring your viewers closer to real time
Standard HLS on every channel, plus LL-HLS at about 3 seconds or WebRTC playback at up to 0.3 seconds as per-channel add-ons on paid video plans.