Articles

Audio over IP: how audio travels over the network and what the design must cover

· Frederico Conte

In an audio over IP system, sound no longer travels over dedicated cables and is carried by the data network instead, the same one that connects computers and cameras. That lets audio reach any point the network reaches, but it hands the network a responsibility that used to belong to the cable.

How audio becomes data

The signal is digitised, split into small packets and sent over the network, usually with the RTP protocol. At the other end, the packets are put back in order and turned into sound again. So that audio from different manufacturers can interoperate, there are open standards such as AES67, as well as proprietary solutions.

Codecs

The codec defines how audio is encoded: with more or less quality, using more or less bandwidth.

  • G.711: the telephony standard, compatible with almost everything.
  • G.722: wideband voice, more natural.
  • Opus: adapts to the network and covers everything from voice to music.
  • Uncompressed audio: maximum quality, more bandwidth, common between professional equipment.

The choice depends on quality, available bandwidth, acceptable delay and the equipment involved.

Unicast and multicast

With unicast, each destination receives its own copy of the audio. With multicast, a single stream reaches every destination that joined that channel, which saves bandwidth when many loudspeakers play the same content. Multicast needs switches configured for it, with IGMP snooping, or it floods the network.

Latency and synchronisation

Every IP system has delay: in encoding, in the network and in the buffer that absorbs variations in packet arrival. For announcements, a few tenths of a second are acceptable. Where the same audio is heard from several loudspeakers, the points must be synchronised, or the sound arrives as an echo. Clock synchronisation protocols such as PTP solve this.

What the network design must cover

  • Separation: audio on its own virtual network (VLAN).
  • Priority: quality of service (QoS) marking so audio goes ahead of downloads and backups.
  • Power over Ethernet (PoE): size the switches for the equipment’s power.
  • Redundancy: alternative paths and backup power for the switches, in critical systems.
  • Monitoring: knowing, in real time, whether each point is receiving audio.

Need to design or integrate an audio system over the network? Talk to CONTE.