PJSIP 1.7 iphone port - remote echo issue with speaker phone

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

 



Hi Rob,

Yes, on iOS, coreaudio is enabled by default. And we use the Voice
Processing I/O unit, doc:
http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioUnitLoadingGuide_iPhoneOS/System-SuppliedAudioUnitsiniPhoneOS/System-SuppliedAudioUnitsiniPhoneOS.html),
which has built-in echo suppressor. You can try reading the setting
PJMEDIA_AUD_DEV_CAP_EC to confirm whether the coreaudio is indeed
using Voice Processing IO unit.

Best regards,
Ming

On Mon, Aug 23, 2010 at 1:50 AM, Rob Wilkes <wilkrob at gmail.com> wrote:
> Hi Ming, does coreaudio get enabled by default in 1.7? I am using 1.7
>
> On Sun, Aug 22, 2010 at 8:29 AM, Sauw Ming <ming at teluu.com> 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
>
>
> _______________________________________________
> 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
>
>



[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