Thanks for reaching out! When it comes to Twilio SIP trunking, the effective sample rate is limited to 8kHz because Twilio doesn’t support HD voice just yet. Don’t worry though—LiveKit processes audio internally at 48kHz and smoothly handles resampling between these rates to keep everything compatible.
If you’re hoping to boost your audio quality, you might want to explore other SIP providers like Telnyx, which offer HD voice support with higher sample rates, such as 16kHz using the G.722 codec.
I’m here to help—whether you’d like some guidance on configuring your Twilio SIP trunk for the best audio quality, want to learn about alternative providers, or need help understanding codec settings. Just let me know what matters most to you—audio quality, bandwidth, or compatibility—and I’ll be happy to assist!
Sources:
HD voice for SIP | LiveKit Docs |
livekit-plugins/livekit-plugins-clova/livekit/plugins/clova/constants.py |
pkg/sip/media_port_test.go