LiveKit supports the following audio codecs when using SIP:
•
G.711 (PCMU/PCMA) - Traditional telephony codecs
•
G.722 - Wideband audio codec for HD Voice
•
Opus - WebRTC codec used for transcoding
•
DTMF - For dual-tone multi-frequency signaling
LiveKit also supports wideband audio codecs like Opus and G.722 for HD Voice, enabling higher quality audio when used with compatible SIP trunks or endpoints. Additionally, the SIP service handles codec transcoding between telephony codecs (e.g., PCMU/PCMA) and WebRTC codecs (e.g., Opus), ensuring seamless integration between traditional phone systems and WebRTC-based LiveKit rooms.
Sources:
res/README.md |
SIP Integration | livekit/livekit_composite | DeepWiki |
Configuring HD Voice for SIP | LiveKit Docs