Echo canceller not working

R
ry6241@gmail.com
Fri, Oct 29, 2021 8:17 AM

I have enabled speex AEC option in pjsip with tail length 25 ms. I have configured pjsip for 44100  sampling rate and 2 channels. During call, I am getting my own voice. As per my understanding, I should not get my own voice if AEC feature is enabled.

cfg->media_cfg.channel_count = 2;

cfg->media_cfg.clock_rate = 44100;

cfg->media_cfg.ec_tail_len = 25;

cfg->media_cfg.ec_options = 1;

I have enabled speex AEC option in pjsip with tail length 25 ms. I have configured pjsip for 44100 sampling rate and 2 channels. During call, I am getting my own voice. As per my understanding, I should not get my own voice if AEC feature is enabled. cfg->media_cfg.channel_count = 2; cfg->media_cfg.clock_rate = 44100; cfg->media_cfg.ec_tail_len = 25; cfg->media_cfg.ec_options = 1;