SRT latency calculator
Work out a starting SRT latency, bandwidth overhead and maximum safe bitrate for your link, based on Haivision's published SRT guidance.
How to use it
- Round trip time: ping from the encoder to the decoder (or read the RTT from a test SRT stream). Anything under 20 ms is treated as 20 ms, because SRT doesn't react on shorter timescales.
- Packet loss: run a test stream for about 60 seconds and use the worst loss rate you see. Resent bytes divided by sent bytes gives you the percentage.
- Loss pattern: cellular, Wi-Fi and satellite links tend to lose packets in bursts. Choosing "bursty" applies a higher minimum overhead.
- Bitrate and capacity: add your encoder bitrate and the measured upload speed of the link to check the stream will fit with headroom.
How the numbers are worked out
SRT latency = RTT multiplier × RTT. The multiplier and bandwidth overhead come from the table below, based on your worst-case packet loss.
For bursty links, the minimum bandwidth overhead is 100 ÷ RTT multiplier, so the calculator uses whichever is higher.
The capacity check follows the conservative rule: 75% of channel capacity should be more than the stream bitrate × (100 + overhead) ÷ 100.
Burst loss tolerance is SRT latency × overhead ÷ 100: roughly the longest burst of lost packets the stream can recover from without a visible glitch.
Reference table
| Packet loss (up to) | RTT multiplier | Bandwidth overhead | Min. latency (RTT ≤ 20 ms) |
|---|---|---|---|
| 1% | 3 | 1% | 60 ms |
| 3% | 4 | 4% | 80 ms |
| 7% | 6 | 9% | 120 ms |
| 10% | 8 | 15% | 160 ms |
| 12% | 8 | 20% | 160 ms |
| 21% | 10 | 38% | 200 ms |
| 25% | 13 | 46% | 260 ms |
| 27% | 14 | 50% | 280 ms |
| 30% | 14 | 61% | 280 ms |
| 40% | 30 | 97% | 600 ms |
Figures assume constant loss and are conservative starting points from Haivision's SRT documentation. Always run a test stream and watch the sender's buffer. If it gets close to the latency value, increase the latency.
Related
Need to know how much upload and data your stream will use? Try the stream bandwidth and data calculator.
Need a hand?
Need a reliable link for your broadcast?
We supply internet, uplinks and live drone feeds for broadcasts across New Zealand, from our base in Tauranga.