PJSIP 1.7 iphone port - remote echo issue with speaker phone

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

 



Before you do that step, you need to create your config_site.h file.
See https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

This will fix your problem


On Sun, Aug 22, 2010 at 4:28 PM, Alejandro Orellana <
alejandro.orellana at savantav.com> wrote:

> i just got 1.7 and ran ./configure-iphone   make dep   and   make
> got the following error
>
> ../src/pjmedia-audiodev/errno.c:23:26: error: portaudio.h: No such file or
> directory
> ../src/pjmedia-audiodev/errno.c: In function ?pjmedia_audiodev_strerror?:
> ../src/pjmedia-audiodev/errno.c:104: warning: implicit declaration of
> function ?Pa_GetErrorText?
> make[2]: *** [output/pjmedia-audiodev-arm-apple-darwin9/errno.o] Error 1
> make[1]: *** [pjmedia-audiodev] Error 2
> make: *** [all] Error 1
>
>
> am i missing something?
> we are not supposed to use portaudio any longer, right?
>
>
> thanks in advance
>
> On Aug 22, 2010, at 8:29 AM, Sauw Ming wrote:
>
> Hi Alejandro,
>
> You can use pjsip 1.7 and use the coreaudio backend.
>
> Regards,
> Ming
>
> On Fri, Aug 20, 2010 at 8:08 PM, Alejandro Orellana
> <alejandro.orellana at savantav.com> wrote:
>
> All
>
> Actually i am observing the same  using pjsip 1.6.
>
> in looking the logs don't see anything related to  echo canceling.
>
> how can i enable the speex echo cancellation or the echo suppressor for the
>
> iOS ?
>
> is it recommended to use  either of the above approaches? or the core audio
>
> backend is the recommended one?
>
> Thanks in advance
>
> On Aug 20, 2010, at 1:03 AM, Sauw Ming 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
>
>
> ------
>
> Alejandro Orellana
>
> Savant Systems, LLC
>
> 770 Main Street
>
> Osterville, Ma. 02655
>
> (508) 683-2547 (W)
>
> (508) 683-2647 (F)
>
> Alejandro.Orellana at savantav.com
>
> Statement of Confidentiality
>
> The contents of this e-mail message and any attachments are confidential
> and
>
> are intended solely for the addressee. The information may also be legally
>
> privileged. This transmission is sent in trust, and the sole purpose of
>
> delivery to the intended recipient. If you have received this transmission
>
> in error, any use, reproduction or dissemination of this transmission is
>
> strictly prohibited. If you are not the intended recipient, please
>
> immediately notify the sender by reply e-mail or at 508.683-2500 and delete
>
> this message and its attachments, if any.
>
>
>
>
> _______________________________________________
>
> 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
>
>
> ------
> Alejandro Orellana
> Savant Systems, LLC
> 770 Main Street
> Osterville, Ma. 02655
> (508) 683-2547 (W)
> (508) 683-2647 (F)
> Alejandro.Orellana at savantav.com <tim.locascio at savantav.com>
>
> Statement of Confidentiality
> The contents of this e-mail message and any attachments are confidential
> and are intended solely for the addressee. The information may also be
> legally privileged. This transmission is sent in trust, and the sole purpose
> of delivery to the intended recipient. If you have received this
> transmission in error, any use, reproduction or dissemination of this
> transmission is strictly prohibited. If you are not the intended recipient,
> please immediately notify the sender by reply e-mail or at 508.683-2500 and
> delete this message and its attachments, if any.
>
>
>
>
> _______________________________________________
> 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/5a3ed07e/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