Hi I have no idea what Raspberry Pi is but since you mentioned android I guess it was probably another android device. So kAudioUnitSubType_RemoteIO & kAudioUnitSubType_VoiceProcessingIO are both iOS stuff and do not work for you (I did set them directly on Objective C code). On 1/22/14, 6:03 PM, jordip wrote: > Hi, Forgive me on insisting on this, > > I have a client on Raspberry Pi and a client on android and I hear > echo if they are close. Can this be eliminated or reduced using pjsip > echo cancellation ? > > From what I understand on "kAudioUnitSubType_RemoteIO instead of > kAudioUnitSubType_VoiceProcessingIO", so the echo cancelation is set > on C code then its enabled always or never after buildind the library > ? does its can be set on python code when calling the pjsip client ? > > Again, Thank you very much > > kind regards, Jordi > > El 22/01/14 09:08, ? ? ha escrit: >> Hi, >> >> I finally figured out why my echo cancellation did NOT work. Because >> I used kAudioUnitSubType_RemoteIO instead of >> kAudioUnitSubType_VoiceProcessingIO. When switch back to >> kAudioUnitSubType_VoiceProcessingIO echo just disappeared! >> >> The pj2.2 code was correctly set componentSubType to >> kAudioUnitSubType_VoiceProcessingIO and I forgot why I changed it to >> kAudioUnitSubType_RemoteIO. >> >> Kinda embarrassed to admit that :$ But I hope my experience benefit >> others. >> >> Qiulang >> >> On 1/16/14, 4:24 PM, qiulang wrote: >>> Hi, >>> >>> I further debug this issue and found an interesting problem. So if >>> both sides use pjsip 2.2 then echo cancellation does not work. If >>> both sides use pjsip 2.1 echo cancellation work well. >>> And if one side use 2.1 and the other use 2.2 then echo cancellation >>> only work on 2.2 side !! >>> >>> So any advice how I can fix the issue ? >>> >>> Qiulang >>> >>> >>> >>> >>> On 1/16/14, 12:25 PM, qiulang wrote: >>>> Sorry I meant when called party switching a voice call to >>>> speakerphone I can hear my echo clearly. >>>> >>>> On 1/16/14, 10:37 AM, ? ? wrote: >>>>> Hi, >>>>> >>>>> I already used pjsip 2.2 (to incorporate #1705 fix), but the echo >>>>> was still very noticeable. When switching a voice call to >>>>> speakerphone I can hear my echo clearly. Is it because I use am-nb >>>>> codec and #1705 fix does not work well or for other reason ? >>>>> >>>>> And I saw there is a pjsip-iphone-audio-driver also for echo >>>>> cancellation purpose. Has anyone had any experience with that ? >>>>> Can it work with latest pjsip code ? >>>>> >>>>> Thanks >>>>> >>>>> Qiulang >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 > > > _______________________________________________ > 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