How to prevent audio feedback using lib-jitsi-meet?

I’m using lib-jitsi-meet to add video chat to a game-like environment called Relm (http://relm.us). When I attempt to add audio tracks to the conference, I get immediate mic/audio feedback. Using headphones, I can tell that the local audio track is sending audio to the local speaker. How do I prevent this?

Things I’ve tried:

  • Don’t attach the audio track: this prevents the audio from going to others in the conference
  • Mute the audio track: this also prevents audio from going to others in the conference

How do you tell the local audio track to connect to the conference, but don’t connect to the local speaker output?

1 Like

Turns out I had added “autoplay=true” to the local audio tag, which apparently causes it to direct its output to local speakers. (Only the local video tag should have “autoplay” set to true).

2 Likes

“autoplay=false” didn’t fix it for me but “muted=true” did. Thanks for pointing me in the right direction.