this is what I'm using to enable Echo Cancellation on the ios (pjsip 2.1) // we have an user setting to play with it/ pjsua_media_config_default(&(_app_config.media_cfg)); _app_config.media_cfg.clock_rate = 16000; _app_config.media_cfg.snd_clock_rate = 16000; if (![[NSUserDefaults standardUserDefaults] boolForKey:@"enableEC"]) { _app_config.media_cfg.ec_tail_len = 0; } On Fri, Oct 4, 2013 at 11:34 AM, <pjsip-request at lists.pjsip.org> wrote: > Send pjsip mailing list submissions to > pjsip at lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request at lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner at lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. Re: Echo Cancelation (Khoa Pham) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 4 Oct 2013 15:34:35 +0700 > From: Khoa Pham <onmyway133@xxxxxxxxx> > To: pjsip list <pjsip at lists.pjsip.org> > Subject: Re: Echo Cancelation > Message-ID: > < > CAN+NExGLeGb2bp6xXoSFRpyXwF0bdvkRxV4+9X4A0PR5ztVCNA at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > @Rohit > > For a basic usage of Echo Cancellation, see this usage from Speex > > http://www.speex.org/docs/manual/speex-manual/node7.html#SECTION00740000000000000000 > > Then open pjmedia/sound_port.c because pjsip implements Echo Cancellation > as part of Sound Port > Look for echo_playback() in play_cb() and echo_capture() in rec_cb() > > > > > On Fri, Sep 27, 2013 at 3:11 PM, Rohit Singh <soulgamebits at gmail.com> > wrote: > > > @Khoa i am using siphon as reference, but i am using pjsip v2.0 will it > > work, If yes can you point me where to look for echo cancellation > > > > > > On Fri, Sep 27, 2013 at 7:47 AM, Khoa Pham <onmyway133 at gmail.com> wrote: > > > >> Have you looked at Siphon, CoreAudio has built-int echo cancellation > >> > >> > >> On Thu, Sep 26, 2013 at 10:25 PM, Rohit Singh <soulgamebits at gmail.com > >wrote: > >> > >>> Hi, > >>> > >>> I am wrking on a iOS Voip app using pjsip, > >>> Am stuck on how to use echo cancellation, any help is appreciated. > >>> > >>> Regards > >>> > >>> _______________________________________________ > >>> 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 > >>> > >>> > >> > >> > >> -- > >> Khoa Pham > >> HCMC University of Science > >> www.fantageek.com > >> > >> _______________________________________________ > >> 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 > >> > >> > > > > _______________________________________________ > > 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 > > > > > > > -- > Khoa Pham > HCMC University of Science > www.fantageek.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131004/75a9c2b7/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > ------------------------------ > > End of pjsip Digest, Vol 74, Issue 4 > ************************************ > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131004/56cf94b0/attachment-0001.html>