Without a value in the app the studio receives with 800 ms. On fiber, cable, good Wi-Fi and good mobile data you set nothing; on a good line you may go down to 200 ms for less delay. On bad mobile data, with a lot of movement or in full cells, set 1500 to 2000 ms in the app.

The latency is the time window in which SRT can ask for lost packets again. A packet that comes too late is missing: a picture error until the next keyframe, a gap in the sound. More latency means fewer picture errors and more delay.

Who determines the value

  • If the app sets no latency, it is the studio's 800 ms.
  • If the app sets one, that value applies: 300 ms in the app is 300 ms, 2000 ms is 2000 ms.
  • The lowest is 200 ms. Less in the app counts as 200 ms.

Guide values

Connection Latency Why
Fiber, cable, good Wi-Fi nothing to set (800 ms), or down to 200 ms for less delay Hardly any losses.
Good mobile data (5G, strong LTE) nothing to set (800 ms) Radio loses packets in bursts; 800 ms are longer than a burst.
Bad mobile data, a lot of movement, full cells 1500–2000 ms Much time for retransmissions, in exchange for clearly more delay.

These are recommendations, not limits. You find the right value only where you actually send from.

Mind the unit

  • Most apps expect milliseconds: 1000 is one second.
  • ffmpeg expects microseconds in the SRT address: latency=200000 is 200 ms, latency=1000000 is one second.

If the delay after a change does not match at all, check the unit first: otherwise the value is off by a factor of 1000.

How to find your value

  1. Begin with the guide value for your connection.
  2. Send for a few minutes and open the "Inputs" tab in the studio. It shows per input the bitrate and the repaired and lost packets. The "Diagnostics" tab shows how close the packets come to their deadline and names the latency to set when it is too tight.
  3. Repaired packets are no problem; that is what the latency is for.
  4. If the lost packets rise, raise the latency in the app step by step, for example by 500 ms, and watch again. The app usually has to reconnect afterward.
  5. If the losses stay in spite of a high latency, the bitrate is too high for the link: lower it, see The right encoder settings.

What the latency costs

  • It is added to the total delay of your stream. For your viewers one second more is hardly noticeable.
  • On the desk you see the picture that much later, and a cut takes effect that much later.
  • If two cameras show the same thing happening, give them the same value. Otherwise their pictures arrive at different times, and that shows at the cut.

Read on