In Reply To
How can I avoid the feedback loop? It’s like on a concert when the mic picks up the output… testing in a iMac.
Replies
No replies yet.
How can I avoid the feedback loop? It’s like on a concert when the mic picks up the output… testing in a iMac.
No replies yet.
Hi Max,
Make sure you aren’t connecting the
AnalyserNodeto yourBaseAudioContext’s destination.In some examples you find online, you might see a line like this:
1analyser.connect(audioCtx.destination);Avoid that!
If you’re still hearing feedback/echoing after getting a media stream from
getUserMedia, you might want to try specifying echoCancellation/noiseSuppression in yourMediaStreamConstraintsconfig object like this: