Actions

Low Latency audio

From Zenitel Wiki

Revision as of 13:06, 26 May 2023 by Asle (talk | contribs)

Latency refers to the delay between when an audio signal enters a system and when it emerges. Excessive audio latency has the potential to degrade call quality.

Typical scenarios where high latency might become an issue is:

  • PA-Announcement where the operator hear his own announcement from nearby VoIP devices, such as IP Speakers, Intercoms, or a PA system connected via a VoIP interface.
  • Systems with a mix of analogue and digital audio paths. Audio from the operator is distributed partly to main PA speakers through the analogue path, and partly to speakers via a digital (VoIP) path. The analogue path will have close to zero delay, while the digital path will have some delay. Too much delay it will resulting in an echo during announcements.

A latency of 150 ms is barely perceptible and thus acceptable. However, anything over that, the quality and consistency of the call starts to decline. Latency is unacceptable at 300 ms or greater.

As from firmware ver. 7.5.3.1 the device software has been tuned, making it possible to significantly reduce the latency when requied.

Reduce VoIP delay for PA-interface

When a VoIP kit is used as PA interface, one can reduce the digital signal delay by turning off all digital Voice Processing.

Log into the web interface of the VoIP kit, enable "Advanced Configuration" mode, and navigate to Audio Settings > Audio Signal Processing. Disable all processing blocks as shown below. This will reduce latency with about 60 ms.

Audio Disable.png
Disable audio processing features
Note icon Disabling Voice Processing should only be done on devices that are not used for regular point to point calls


Latency can be further reduced by disabling “RTSP and ONVIF” on both the sender and the receiver end. This will reduce end-to-end delay with 20-30 ms more.

RTSP ONVIF disable.PNG
Disable RTSP and ONVIF
Note icon Only to be disabled on devices not in an ONVIF system, and not using RTSP direct for audio streaming


In addition to the above configuration, some general improvements have been made on the Receive Jitter Buffer handling, ensuring even lower latency.

In total end-to-end latency should be down to 50-60 ms with all the above measures actived.