lively-flag-66582
08/07/2025, 6:37 AMcommon audio codec not found
tall-airline-16756
08/07/2025, 6:37 AMtall-airline-16756
08/07/2025, 6:38 AMcommon audio codec not found
occurs when there is no mutually supported audio codec between LiveKit and the SIP endpoint (WhatsApp Business calling) during the SDP negotiation process.
LiveKit SIP supports the following audio codecs:
• G.711 (PCMU/PCMA) - Standard narrowband codec
• G.722 - Wideband codec for HD Voice
• DTMF - For signaling
To resolve this issue:
1. Verify the audio codecs supported by WhatsApp Business calling.
2. Ensure your SIP trunk configuration includes compatible codecs like G.711U (PCMU) and G.722.
3. Check the codec priority order in your SIP trunk settings.
4. Review SIP headers and ensure proper SDP negotiation.
5. Test with different codec combinations to identify compatibility.
If the issue persists, reviewing SIP logs for detailed codec negotiation information can help pinpoint the problem.
Sources: sdp/offer.go | pkg/sip/media_codecs.go | Configuring HD Voice for SIP | LiveKit Docs | livekit-protocol/livekit/protocol/sip.py | SIP Integration | livekit/livekit_composite | DeepWiki