Glossary
G.711
The sound of the telephone network since the 1970s. G.711 is simple, uncompressed and limited to narrowband speech, and it is still required in WebRTC so browser calls can reach ordinary phones.
General definition
G.711 is the ITU-T recommendation, first published in 1972, that defines how digital telephone networks encode voice. It samples audio at 8 kHz and stores each sample as 8 bits using a logarithmic companding curve, which gives more resolution to quiet sounds than a linear 8-bit scale would. The result is a fixed 64 kbit/s stream covering roughly 300 to 3400 Hz, the narrowband range that defines classic telephone quality. There are two companding laws: mu-law (PCMU), used in North America and Japan, and A-law (PCMA), used in Europe and most of the rest of the world; gateways convert between them.
- Complexity: almost none, a table lookup per sample, with no frame buffering, so algorithmic delay is effectively zero
- Quality: intelligible and familiar but dull, with nothing above 3.4 kHz; HD voice codecs such as G.722 and Opus double the audio bandwidth
- Loss resilience: none in the base standard; Appendix I adds packet loss concealment and Appendix II a comfort-noise payload for silence suppression
- Transport: RTP static payload types 0 (PCMU) and 8 (PCMA) defined in RFC 3551, typically 20 ms of audio per packet
- Interoperability: supported by essentially every SIP phone, PBX and PSTN gateway ever made
That universality is why RFC 7874 makes G.711 a mandatory codec in WebRTC alongside Opus. A browser that can speak PCMU or PCMA can connect to a telephone gateway without transcoding, which keeps a call from the web to a landline simple and cheap. Between two WebRTC endpoints, however, G.711 is almost never chosen: it costs more than twice the bandwidth of good-quality Opus for noticeably worse sound and has no built-in protection against packet loss.
In VoIP design G.711 therefore plays the role of the lowest common denominator. It is the safe fallback, the native format of the phone network and the reference point against which newer audio codecs are measured, but any call that stays on the internet is better served by Opus.
Adding calls to your product? The Ethora voice chat SDK is built on WebRTC, with 1:1 calls, group voice rooms and push-to-talk for web, iOS and Android.
In the Ethora ecosystem
Ethora calls are built on WebRTC, so G.711 is present in every call offer as the standard requires, and the endpoints negotiate the codec they will actually use; between browsers and the Ethora client apps that is Opus in practice, with G.711 held in reserve for compatibility. Codec selection is part of the standard WebRTC model, not a per-app setting, and the SFU forwards whichever codec the sender picked without re-encoding.
For a buyer the relevance of G.711 is interoperability planning: if a deployment ever needs to bridge in-app calls to desk phones or a telephone gateway, G.711 is the codec that side will expect, and the WebRTC stack in every client already supports it; the bridge itself is an integration question beyond the codec. The voice and video call API page describes the in-app calling features that sit on top.