What OS system are you using with pjsip?
For Android, the speex AEC that came with pjmedia_snd_port seem's have problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the callback functions. Such as
> snd_port_param.base.ec_enabled=PJ_FALSE;
>snd_port_param._on_rec_frame_=rec_cb; >snd_port_param._on_play_frame_=play_cb;
> status=pjmedia_echo_create2(....);
For Android, the speex AEC that came with pjmedia_snd_port seem's have problem to work properly even with the latest pjproject2.4.5.
I have to turned off the default AEC, and manually do it within the callback functions. Such as
> snd_port_param.base.ec_enabled=PJ_FALSE;
>snd_port_param._on_rec_frame_=rec_cb; >snd_port_param._on_play_frame_=play_cb;
> status=pjmedia_echo_create2(....);
You have to be careful with all the parameters, because the default setting would not work for SPEEX.
I would really hope if there were some easier ways for Android developers.
Сергей Митрофанов <goretz.m@xxxxxxxxx>于2016年4月9日周六 上午1:50写道:
Hi, I had same issue 2 weeks ago.
I just use the new webrtc echo canceller from the last commits. And it works greate!
Also I disabled al other EC and unused audio codecs...
Check this ticket for help:
https://trac.pjsip.org/repos/ticket/1888пт, 8 апр. 2016 г. в 20:36, João Resende <ms92resende@xxxxxxxxx>:______________________________________________________________________________________________I need to activate the echo cancelation algorithm and I try to add #define PJMEDIA_HAS_SPEEX_AEC 1 in the config_site.h but then I realise that this is the default behaviour of PJSIP. But I'm listening a lot of echo during a call.
Can someone tell me what variable should I set to solve this issue?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org