Hello All, I’m experiencing echo only incase if i’m using a windows built-in mic/speaker with pjsip calls(with PJMEDIA_ECHO_DEFAULT). As a reason of this, I tried switching to WebRTC AEC as per https://trac.pjsip.org/repos/ticket/1888
with which i am experiencing echo sometimes(say 5-10seconds out of 60seconds of speech) I had set following flags in my config_site.h, while building the pjsip stack. #define
PJMEDIA_HAS_WEBRTC_AEC 1 #define
PJMEDIA_WEBRTC_AEC_USE_MOBILE 0 #define
PJMEDIA_SPEEX_AEC_USE_DENOISE 0 #define
PJMEDIA_SPEEX_AEC_USE_AGC 0 #define
PJMEDIA_HAS_SPEEX_AEC 0 And at application below are my current media config settings: MediaConfig
mcfg = new
global::MediaConfig(); mcfg.quality = 4; mcfg.sndClockRate = 16000; mcfg.noVad =
true; mcfg.jbInit = 150; mcfg.jbMinPre = 60; mcfg.jbMaxPre = 240; mcfg.jbMax = 360; mcfg.ecOptions = PJMEDIA_ECHO_WEBRTC | PJMEDIA_ECHO_USE_NOISE_SUPPRESSOR | PJMEDIA_ECHO_AGGRESSIVENESS_AGGRESSIVE; mcfg.ecTailLen = 25; I read few archive emails on this topic, but could not conclude on what the optimal settings are at media level. Could someone guide me here with values that has resolve this echo issue on windows platform. Appreciate all quick inputs. thanks, .raj |
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org