01

From circuits to packets

Traditional telephone networks reserved a dedicated circuit for each call, a continuous path that stayed open for its whole length. Internet calls, known as voice over IP or VoIP, work differently. Speech is turned into digital data, chopped into small pieces and sent across the same shared network that carries web pages and video, mixed with everyone else’s traffic. This is far cheaper and more flexible, and it is how most calling apps, video meetings and, increasingly, mobile operators themselves now carry voice. Even an ordinary call on a 4G or 5G network often travels as packets using a version of this technology. The challenge is doing it quickly and reliably enough.

02

Packing speech into packets

A microphone’s signal is sampled thousands of times a second and fed to a codec, software that compresses sound. Modern codecs such as Opus, standardised in 2012, can deliver clear speech at around 20 to 30 kilobits per second, far less than uncompressed audio. The sound is processed in short frames, commonly 20 milliseconds long, so 50 frames are sent each second. At 32 kilobits per second, each frame carries about 80 bytes of audio. Every packet also needs addressing and timing information, roughly 40 bytes of headers, so the overhead is about half the size of the voice data itself. Shorter frames reduce delay but increase this overhead, an engineering trade-off.

03

Delay and jitter

Conversation feels natural only if delay is short. The ITU, the UN agency for telecommunications, advises that one-way delays below about 150 milliseconds are acceptable for most calls; beyond that, people start talking over each other. Delay comes from encoding, distance, congested routers and buffering. Packets also arrive unevenly, a variation called jitter, because each can take a slightly different path or wait in different queues. To smooth this, the receiving app holds packets briefly in a jitter buffer before playing them. A bigger buffer copes better with uneven networks but adds delay, so good apps adjust its size constantly to suit current conditions on the connection.

04

Why voices turn robotic

Calls use fast delivery methods that do not wait to resend lost data, because a packet that arrives late is useless. When packets go missing, which is common on busy Wi-Fi or weak mobile signals, the app must fill the gap. Packet loss concealment guesses the missing sound from the frames on either side, stretching or repeating them. A few lost packets pass unnoticed, but heavy loss produces the familiar metallic, robotic or stuttering voice. Codecs can also lower their quality to survive poor connections, which makes voices sound muffled. Moving closer to the router, switching off other heavy downloads or using a wired connection often improves a struggling call quickly.

05

The problem of echo

Echo happens when the other person’s voice comes out of your speaker, is picked up by your microphone and sent back to them, delayed by the round trip. On speakerphones and laptops this is unavoidable without help, so apps run acoustic echo cancellation. The software knows what it just played through the speaker, predicts how that sound will reach the microphone after bouncing around the room, and subtracts it from what the microphone hears. It is difficult in echoing rooms or with cheap hardware, and if it fails, the other person hears themselves. Headphones solve the problem almost entirely, which is why they make such a difference on video calls.

06

Encryption and regulation

Many popular calling apps encrypt calls end to end, so only the people on the call can hear them, not the app provider or anyone on the network. Others encrypt only between each user and the provider’s servers. Because internet calls can bypass traditional phone networks and their pricing, governments regulate them differently, and some countries, including some in the Gulf, have at times restricted which calling services can be used, while licensing others through local operators. For travellers, the practical point is to check which services work at a destination before relying on them. Technically, though, the core of every such service is the same race to deliver tiny packets on time.

FOLLOW THE EVIDENCE

Sources & further reading

Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.