DOC-USR-0077-01
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
20
6.7
Tuning for Latency
For latency, the key parameter to work with is Maximum Delay.
Maximum Delay defines the number of milliseconds of buffering the encoder has to work with. The
higher this value, the more buffers it has to work with and the more time it has to “smooth things out”
for challenging content. However, a higher value also causes latency to increase accordingly. To
minimize latency, this value should be set to the lowest possible value. The lowest value Z3
recommends is 100.
Figure
shows the suggested values for Maximum Delay for three common use cases:
Maximum Delay
Case 1: Highest Quality, Highest Latency
3000
Case 2: Good Quality, Standard Latency
2000
Case 3: Normal Quality, Lowest Latency
100
Figure 23 Tuning for Various Use Cases
RTP offers lower latency than UDP, so for the lowest latency you should use RTP.
If you are streaming to VLC, you can reduce latency on the decode side by adjusting the network caching
value. By default, this is set to 1000ms. You can lower this to as low as 200ms. To do this, go to the
following:
VLC
→
Tools
→
Preferences
→
Show Settings (ALL)
→
Input / Codecs
→
Network caching (ms)