Low Latency Streaming: Tech Compared
In this article
Low latency streaming technologies reduce the delay between a live event happening and a viewer seeing it, with the main options being HLS with low-latency extensions (LL-HLS), WebRTC, SRT, and CMAF with chunked transfer. This article compares these technologies on latency, scalability, compatibility, and use case so you can choose the right one for your live stream.
in t | Target latency | seconds | 3 | 0.1 in b | Bitrate | Mbps | 5 | 0.1 out delay | Estimated glass-to-glass delay | seconds | t + 1.5 | 1 out buffer | Suggested buffer size | seconds | t * 2 | 1
Formula
The calculator estimates the end-to-end delay (glass-to-glass) for a live stream using a simple model: Delay = Target Latency + 1.5 seconds. The target latency is the value you set in your encoder or server (in seconds), and the 1.5 seconds accounts for network jitter buffering and player initialization. The suggested buffer size is simply twice the target latency, a common rule of thumb for stable playback.
Worked Example
Using the default values: target latency = 3 seconds, bitrate = 5 Mbps.
- Estimated delay = 3 + 1.5 = 4.5 seconds
- Suggested buffer = 3 * 2 = 6 seconds
So with a 3-second target, viewers will see the stream about 4.5 seconds after it happens, and a 6-second buffer helps avoid rebuffering.
What Is Low Latency Streaming?
Latency in live streaming is the time from when a camera captures a moment to when it appears on a viewer’s screen. Traditional streaming (like standard HLS) can have 20–45 seconds of latency because video is delivered in large chunks that the player buffers. Low latency streaming aims to cut this down to under 5 seconds, sometimes under 1 second, enabling real-time interaction.
The need for low latency varies by use case. For a webinar or a sports highlight, 10–15 seconds is fine. For live auctions, sports betting, or interactive Q&A, latency above 5 seconds kills the experience. For video calls or gaming, sub-second latency is essential.
How Low Latency Works
Traditional streaming splits video into 2–10 second segments. The player downloads a few segments before playing to ensure smooth playback, adding latency. Low latency techniques reduce segment size or stream video in smaller chunks:
- Chunked transfer encoding – sends a segment in smaller pieces (e.g., 1-second chunks) so the player can start playing before the whole segment arrives.
- CMAF (Common Media Application Format) – a standard that allows chunked encoding, used with both HLS and DASH.
- LL-HLS – Apple’s low-latency extension to HLS, using partial segments and HTTP/2 push.
- WebRTC – a peer-to-peer protocol originally for video calls, now used for live streaming with sub-second latency.
- SRT (Secure Reliable Transport) – a transport protocol that can be used for low-latency contribution and distribution, often with a custom player.
The key is that the player doesn’t wait for a full segment; it starts decoding as soon as the first chunk arrives.
Technology Comparison
Here’s a practical comparison of the main low-latency technologies:
| Technology | Typical Latency | Scalability | Compatibility | Best For |
|---|---|---|---|---|
| LL-HLS (CMAF) | 2–5 sec | Excellent (CDN-friendly) | iOS, Safari, most modern browsers | Large audiences, Apple ecosystem |
| WebRTC | <1 sec | Good with SFU, but complex | All modern browsers, no plugin | Interactive streams, video calls |
| SRT | 1–3 sec | Good, but requires custom player | Not native in browsers | Contribution (camera to server), secure transport |
| Standard HLS/DASH | 15–45 sec | Excellent | Universal | Non-interactive VOD, large events |
LL-HLS is the easiest to deploy because it works over standard HTTP and CDNs. WebRTC gives the lowest latency but requires more server infrastructure (SFU) and doesn’t scale as easily to millions of viewers without heavy engineering. SRT is great for sending video from a remote camera to your streaming server, but viewers still need a compatible player.
How to Choose
To pick a technology, start with your latency requirement and audience size:
- If you need under 1 second and viewer interaction (like live chat or bidding), choose WebRTC.
- If you need 2–5 seconds and a large audience (10k+), choose LL-HLS with CMAF.
- If you’re transmitting from a remote location over unstable internet, use SRT for the contribution link, then restream with LL-HLS.
- If you don’t need low latency, stick with standard HLS – it’s simplest and most reliable.
Also consider your player: LL-HLS works on iOS and Safari natively, but on Chrome and Firefox you may need a JavaScript player that supports LL-HLS (like hls.js). WebRTC works in all browsers but requires a WebRTC-enabled player.
Common Problems and Misconceptions
A common misconception is that lowering latency always improves quality. Actually, lower latency gives the player less time to buffer, so if the viewer’s network is unstable, they’ll see more rebuffering. You need to balance latency with a buffer that’s large enough for the viewer’s connection.
Another issue is that LL-HLS is not truly “low latency” in the sub-second sense – it’s typically 2–5 seconds. If you need real-time, WebRTC is the only option. Also, some streaming platforms advertise “ultra-low latency” but only achieve it under ideal network conditions; real-world latency varies.
Common problems:
- Player doesn’t support LL-HLS – use a compatible player or fall back to standard HLS.
- CDN doesn’t support chunked transfer – not all CDNs do; check with your provider.
- WebRTC server complexity – you need an SFU (Selective Forwarding Unit) for multi-viewer, which adds cost.
- SRT requires a dedicated player – you can’t just open an SRT stream in a browser.
Cost and Complexity
Cost varies widely. Standard HLS is cheapest because any CDN can serve it. LL-HLS is slightly more expensive due to CDN support for chunked transfer, but still affordable. WebRTC is the most expensive because you need a media server (SFU) and more bandwidth per viewer. SRT is free as a protocol, but you need to build or buy a player that supports it.
Complexity follows the same pattern: HLS is turnkey, LL-HLS requires some configuration, WebRTC requires significant engineering, and SRT is somewhere in between.
Frequently Asked Questions
What is the lowest possible latency for live streaming?
WebRTC can achieve sub-second latency (200–500 ms) under good conditions. That’s the lowest practical for internet streaming. Anything lower would require specialized hardware or a direct connection.
Is LL-HLS the same as low latency?
LL-HLS is a specific implementation of low latency using HTTP chunked transfer. It typically achieves 2–5 seconds, which is low compared to standard HLS but not as low as WebRTC. Some people use “low latency” to mean under 1 second, but in marketing it often means under 10 seconds.
Can I use WebRTC for a large audience?
Yes, but you need an SFU to mix or forward streams. A single WebRTC stream can scale to thousands of viewers if you have a good SFU, but it’s more complex and costly than using a CDN for HLS. For millions, HLS is still more practical.
Why does my stream have higher latency than expected?
Latency can be higher due to network jitter, player buffering, encoder settings, or CDN caching. Even with low-latency technologies, if the viewer’s internet is slow, the player will buffer more, increasing delay. Check your encoder’s GOP size and use a CDN that supports chunked transfer.
What is the difference between SRT and RTMP?
RTMP is an older protocol for streaming to a server, with latency around 5–10 seconds. SRT is a newer protocol designed for reliable, low-latency transport over unpredictable networks. SRT has better error correction and is often used for contribution, while RTMP is still common for ingest to platforms like YouTube or Twitch.