Does the LiveKit web SDK handle automatic echo can...
# ask-ai
m
Does the LiveKit web SDK handle automatic echo cancellation for me?
t
Thanks for reaching out, Alexander. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to share that the LiveKit web SDK takes care of automatic echo cancellation for you by default, thanks to the WebRTC implementation of
echoCancellation
in
MediaTrackSettings
. This means it helps reduce any unwanted echo caused by your speaker output being picked up by your microphone, making your experience much smoother. If you'd like, you can also customize this feature through the
AudioCaptureOptions
interface in the SDK. There's an
echoCancellation
setting there, which is set to
true
by default to keep echo cancellation active—though you have the option to turn it off if needed. Please feel free to reach out if you'd like more details or help with setting this up. I'm here to assist you! Sources: Automation & Knowledge Management Tools | livekit/livekit_composite | DeepW... | README.md | livekit-rtc/livekit/rtc/_proto/track_pb2.pyi | Noise & echo cancellation | LiveKit docs | src/room/track/options.ts