I am using livekit for implementing meeting rooms ...
# ask-ai
b
I am using livekit for implementing meeting rooms and streaming, but when there are lot of voice distortions and voice is breaking while mutli people are speaking, how can we fix that?
t
Thanks for reaching out, Manish. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m responding to your issue about voice distortion and audio breaking when many people speak. Quick fixes to try first • Enable Audio RED (redundant encoding) when publishing audio so lost packets can be recovered. • Ensure DTX (discontinuous transmission) is enabled so silent participants don’t waste bandwidth. • Reduce video bandwidth pressure: enable adaptive streaming / dynacast so more capacity remains for audio. • Monitor connection quality (packet loss is the main indicator). If many participants show Poor quality, ask them to switch to a wired/Wi-Fi network or lower other app bandwidth. • If you use hi‑fi/music mode, disable noise suppression/echo cancellation and test with higher audio bitrate only when network is stable. Client-side settings examples • Publish with RED and DTX enabled when creating the audio track (use your SDK’s publish options for
red: true
and
dtx: true
). • Disable
noiseSuppression
or
echoCancellation
for non-speech audio capture. Server / architecture suggestions • Use the Stream Allocator / server-side bandwidth management so audio is prioritized and video layers are reduced automatically. • If you run your own servers, ensure they have enough network capacity and CPU headroom for peak concurrent speakers. What I need from you to help further • Which SDK(s) and versions are you using (Web/JS, iOS, Android, Flutter)? • Are distortions occurring for all participants or only some? Any patterns (mobile vs desktop, specific networks)? • Do you have connection quality / packet loss metrics from the Room or participants you can share? If you share those details I’ll give exact code snippets and next troubleshooting steps. Sources: Codecs and more | LiveKit docs | Bringing Zoom's end-to-end optimizations to WebRTC | Noise & echo cancellation | LiveKit docs | Understanding "silence detected on local audio track" warning | examples/survey | livekit/livekit_composite | DeepWiki
b
i am using flutter sdk
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
b
I am using flutter sdk and its happening for all participants,