Definition
An audio codec compresses voice into a bitstream for transmission. Opus is the browser-standard codec used by WebRTC and ChromePing.
An audio codec encodes voice (or music) into a compressed bitstream and decodes it at the far end. WebRTC uses Opus as its mandatory codec; Opus is low-latency (5–20 ms frame size) and transparent for speech at 16–32 kbps. When ChromePing's browser caller connects to LiveKit, the audio frames are Opus. On the SIP side, Telnyx can transcode to G.711 or G.722 for carriers that prefer those codecs; the transcoding adds a small latency penalty but preserves intelligibility. Codec choice matters most on the recipient's side: a PSTN carrier that only accepts G.711 cannot preserve the full fidelity of the TTS output.
Related terms
PSTN
PSTN is the Public Switched Telephone Network, the century-old network of landlines, mobile towers and inter-carrier links that handles ordinary phone calls.
WebRTC
WebRTC is a browser-standard set of APIs for real-time audio, video and data between peers over UDP, without plug-ins.
Call translation latency
Call-translation latency is the time between the moment a speaker finishes a sentence and the moment the other party hears the translated version, ideally under 1.5 seconds.