Opus — The Modern Codec and Why It Won
Learn about opus — the modern codec and why it won
The Codec That Does Everything
Legacy codecs each solved one specific problem: G.711 for uncompressed quality, G.729 for bandwidth efficiency, G.722 for wideband audio. Opus, standardized in 2012 (RFC 6716), was designed to replace them all.
Opus is the mandatory codec for WebRTC — every browser that supports WebRTC must support Opus. It's also increasingly used in SIP environments, VoIP applications, gaming, and streaming. Understanding Opus is essential because Telnyx's WebRTC product relies on it, and its adoption in SIP is growing.
The Hybrid Architecture: SILK + CELT
Opus achieves its versatility through a hybrid design that combines two fundamentally different compression approaches:
SILK (originally developed by Skype): A speech-optimized codec based on linear prediction — similar in concept to CELP (Lesson 7). SILK models the vocal tract and excels at compressing human speech at low bitrates. It handles narrowband (8 kHz), mediumband (12 kHz), and wideband (16 kHz) sampling rates.
CELT (Constrained Energy Lapped Transform): A music-optimized codec based on frequency-domain transforms — more like MP3 or AAC than like G.729. CELT excels at reproducing complex audio: music, ambient sound, multiple simultaneous speakers. It handles wideband (16 kHz) up to fullband (48 kHz).
Opus dynamically selects the right mode:
- Voice-only at low bitrate → SILK mode
- Music or complex audio → CELT mode
- Mixed content or transitions → Hybrid mode (SILK for low frequencies, CELT for high frequencies)
This is why Opus sounds good for everything — it's essentially three codecs in one, with intelligent mode switching.
Adaptive Bitrate — One Codec, Any Network
🔒 Full Course Content Available
This is a preview of the Telephony Mastery Course. The complete lesson includes:
- ✅ Detailed technical explanations
- ✅ Advanced configuration examples
- ✅ Hands-on lab exercises
- ✅ Real-world troubleshooting scenarios
- ✅ Practice quizzes and assessments
Preview shows approximately 25% of the full lesson content.