Compatibility matrix
Which codec should I use?
Use G.722 if your PBX supports it (recommended for most deployments)
Use G.722 if your PBX supports it (recommended for most deployments)
G.722 (wideband) doubles the audio bandwidth compared to G.711 narrowband. Gemini Live —
the model that handles live voice — performs measurably better at 16 kHz, especially for:
- Non-native English speakers
- Noisy environments (call centres, drive-throughs)
- Short commands or proper nouns
Use Opus for the best quality (WebRTC-native, variable bitrate)
Use Opus for the best quality (WebRTC-native, variable bitrate)
Opus is the native codec for WebRTC and operates at up to 48 kHz stereo. It supports
variable bitrate, making it efficient on constrained links while delivering high quality
when bandwidth is available.Use Opus when:
- Your PBX or SIP stack supports it (FreeSWITCH, Kamailio, recent Asterisk builds)
- You are using a WebRTC-to-SIP gateway
- You want the highest possible transcription accuracy from Gemini Live
opus codec module in Asterisk (codec_opus). This module
is not bundled with Asterisk and must be installed separately from Digium or Sangoma.Use G.711 for maximum compatibility
Use G.711 for maximum compatibility
G.711 PCMU (μ-law, North America) and PCMA (A-law, Europe/Rest of World) are supported
by every SIP device made in the last 30 years. Use G.711 when:
- You are unsure what codecs your carrier or PBX supports
- You are connecting legacy ATAs or analogue gateways
- You are troubleshooting — G.711 eliminates codec negotiation as a variable
G.729 — why it is not supported
G.729 — why it is not supported
G.729 is a low-bitrate (~8 kbps) narrowband codec that requires a licensed decoder. The
Humain gateway does not include a G.729 license. If your carrier sends G.729, you must
transcode it to G.711 or G.722 at your PBX before routing to Humain.Asterisk transcode config:FreeSWITCH and most hosted PBXes can transcode G.729 to G.711 transparently.
SDP negotiation
The Humain gateway advertises codecs in this preference order in its SDPm=audio line: