Voice bots - Audio feedback Loop Issue
I'm working on a voice bot project and need to implement Voice Activity Detection (VAD) with a barge-in feature. The issue arises when the bot speaks and its output is picked up by the mic (since the mic is always on for VAD), causing a continuous feedback loop. I've tried third-party extensions like ElevenLabs, but none provided a solution. I also explored AEC, but there’s no foolproof solution. Even real-time solutions like WebRTC don’t work. Does anyone have a solution for this?

I'm working on a voice bot project and need to implement Voice Activity Detection (VAD) with a barge-in feature. The issue arises when the bot speaks and its output is picked up by the mic (since the mic is always on for VAD), causing a continuous feedback loop. I've tried third-party extensions like ElevenLabs, but none provided a solution. I also explored AEC, but there’s no foolproof solution. Even real-time solutions like WebRTC don’t work. Does anyone have a solution for this?