Skip to main content
VoiceAgentTCO
VoiceAgentTCO Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Disclosure).
SIP & WebRTC Latency

G.711 ulaw 8 kHz vs Opus 48 kHz SIP Transcoding

How narrowband 8 kHz PSTN trunks impact STT word error rate and single-core CPU budget.

0.8% CPU/call transcoding · 8 kHz -> 16 kHz resample

G.711 ulaw 8 kHz vs Opus 48 kHz SIP Transcoding
Telemetry baseline verified on 2026-10-26 by SipLatency Voice Systems.
STEP 01

PSTN Bandwidth vs ASR Acoustic Fidelity

Legacy SIP trunks deliver G.711 ulaw at 8 kHz (64 kbps + headers = 87.2 kbps). High-frequency fricatives ("s", "f", "th") roll off above 3.4 kHz, increasing STT digit and alphanumeric error rates unless your trunk supports wideband G.722 or Opus.

STEP 02

CPU Budget for libopus Resampling

Decoding G.711 and encoding Opus/PCM 16 kHz in LiveKit SIP consumes roughly 0.015 vCPU per active channel on modern 3.8 GHz AMD EPYC cores, allowing 100+ calls per 2-vCPU Vultr HF instance.

STEP 03 // MEASURED BENCHMARKS

Measured Pipeline Thresholds

G.711 ulaw (8 kHz)87.2 kbps/legUniversal PSTN · slight consonant loss
G.722 Wideband (16 kHz)87.2 kbps/legCleaner STT digits when carrier supports
Opus WebRTC (48 kHz)32-48 kbps/legLowest WER + built-in packet loss FEC
0.8% CPU/call transcoding · 8 kHz -> 16 kHz resample Launch Flash v2.5