PJSIP 1.7 iphone port - remote echo issue with speaker phone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks ming. I am not using 0, I am using PJSUA_DEFAULT_EC_TAIL_LEN
best

On Sun, Aug 22, 2010 at 8:24 AM, Sauw Ming <ming at teluu.com> wrote:

> Hi Rob,
>
> Setting the ec_tail_len to 0 will actually disable the echo-canceller.
> Any non-zero value will enable it.
>
> Regards,
> Ming
>
> On Sun, Aug 22, 2010 at 2:25 AM, Rob Wilkes <wilkrob at gmail.com> wrote:
> > Hi Sauw, I am currently running on an iphone 4  iOS 4. The app is being
> > build for SDK 3.x. The app is also being run on a 3GS by some other folks
> > (not me) - and they are reporting the same problem.
> > I read 1.7 is using the h/w echo canceller of the iphone, so I expected
> 1.7
> > to mostly eliminate the problem. I was running on pjsip 1.6 before and
> > switched to 1.7 hoping it would solve the issue. I don't know if I need
> to
> > set and specfiic flags to enable that feature?
> >
> > On Fri, Aug 20, 2010 at 1:03 AM, Sauw Ming <ming at teluu.com> wrote:
> >>
> >> Hi Rob,
> >>
> >> Which version of iOS SDK and which version of iOS that you are using?
> >> If you're using iOS SDK 4, did the same problem also happen when
> >> you're using the SDK 3.x?
> >>
> >> Regards,
> >> Ming
> >>
> >> On Thu, Aug 19, 2010 at 3:56 AM, Rob Wilkes <wilkrob at gmail.com> wrote:
> >> > Hi, here is the code I am using to switch to loudspeaker on the iphone
> >> >
> >> > pjmedia_aud_dev_route route =  PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER;
> >> >
> >> > pj_status_t status;
> >> >
> >> > pjsua_set_ec (PJSUA_DEFAULT_EC_TAIL_LEN,0);
> >> >
> >> > status = pjsua_snd_set_setting(PJMEDIA_AUD_DEV_CAP_OUTPUT_ROUTE,
> >> >
> >> >   &route, PJ_TRUE);
> >> >
> >> > pjsua_set_ec (PJSUA_DEFAULT_EC_TAIL_LEN,0);
> >> >
> >> > I just added the pjsua_set_ec both before and after to see if it makes
> a
> >> > difference. The remote party is still hearing his own voice back loud
> >> > and
> >> > clear.
> >> >
> >> > Can anyone suggest what I may be doing wrong?
> >> >
> >> > On Wed, Aug 18, 2010 at 11:46 AM, Rob Wilkes <wilkrob at gmail.com>
> wrote:
> >> >>
> >> >> Hi, I am running PJSIP 1.7 on an iphone (3GS as well as 4). I checked
> >> >> out
> >> >> the trunk today and built it exactly as per specs. When I make a call
> >> >> and
> >> >> switch the iphone to speaker mode, the remote party hears his/her own
> >> >> voice
> >> >> back very prominently. According to the release notes of 1.7, it
> should
> >> >> be
> >> >> using the iphone's native echo canceller and this should not be
> >> >> happening
> >> >> (or, atleast, the remote echo should not be so prominent). Is there
> any
> >> >> additional setting I need to do?
> >> >> I assume 1.7's audio driver should already be doing what the
> >> >> old http://code.google.com/p/pjsip-iphone-audio-driver/ effort did.
> Is
> >> >> that
> >> >> correct? (since this was created for older versions of JPJSIP and
> PJSIP
> >> >> has
> >> >> evolved since)
> >> >> thx
> >> >>
> >> >
> >> >
> >> > _______________________________________________
> >> > 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
> >
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100822/81ad2ef7/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux