Thanks John and Andres for the hints! I applied Samuel patch ( http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2012-September/015216.html) and certainly the situation has improved. Now I'm wondering if it makes sense to set a value like: media_cfg.ec_tail_len = 150; or if everything is overridden by CoreAudio inner settings. The result I have reached with that patch is to avoid the annoying Larsen effect but I still find myself in the situation where I hear "one and only one echo return wave" for every word said. Since mic and speakers are both internal (and those shipped originally with my Mac) I think that they're synced. Is there anything else I can do? 2013/1/24 Andreas Ahland: > Hi, > On Win, it is the speex preprocessor. I have found that 1200ms is too > large to for the speex echo canceller to converge. Try 100 to 300 ms max. > Most acoustic echo is in this range. > > If recording and playback is not in sync, i.e. different soundcards, it > won't work either. > > > Am 24.01.2013 21:16, schrieb John Mah: > > On 2013-01-24 11:15 AM, Dede wrote: >> >>> Hello all, >>> I read docs and I can see that there's echo cancellation support in >>> PJSUA. >>> It seems also that on Mac OS, CoreAudio should do the trick. >>> >> >> i think that you need to patch your sources to use the CoreAudio backend. >> if i remember correctly, the portaudio backend is used by default on mac >> osx builds. (see message by samuel vinson in the archives >> > > > ______________________________**_________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/**mailman/listinfo/pjsip_lists.**pjsip.org<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130124/7c77b09b/attachment-0001.html>