Click Here To Visit SIP Broker  

Go Back   Voxalot / SIP Broker Support Forums > SIP Broker Forums > SIP Broker Support

SIP Broker Support Support for the SIP Broker service.

 
 
Reply
Thread Tools Display Modes
Unread 09-03-2010, 11:51 AM   #1
madong727
Junior Member
 
Join Date: Sep 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
madong727 is on a distinguished road
Default echo cancellation

Hi:
I am developing an IP Phone on ARM(samsung 6410; CPU:667MHZ), and use lib

mediastreamer.2.6.0 for audio
communication, but now the echo occur while talking. In the lib

mediastreamer.2.6.0, I find a filter can
do echo Cancellation by calling lib speex. I active it to filter the

collected voice, but the telephone
receiver can't hear any voice. Maybe I setup parameters wrong, the

parameters are as follow:

int ec_tail_len = 100;
int ec_delay = 20;
int ec_framesize = 0;
if (use_ec) {
stream->ec=ms_filter_new(MS_NEW_SPEEX_EC_ID);
ms_filter_call_method(stream-

>ec,MS_FILTER_NEW_SET_SAMPLE_RATE,&pt->clock_rate);
//inec_tail_len = 100;
//ec_delay = ;
if (ec_tail_len!=0)
ms_filter_call_method(stream-

>ec,MS_ECHO_CANCELLER_SET_TAIL_LENGTH,&ec_tail_len );
if (ec_delay!=0)
ms_filter_call_method(stream-

>ec,MS_ECHO_CANCELLER_SET_DELAY,&ec_delay);
if (ec_framesize!=0)
ms_filter_call_method(stream-

>ec,MS_ECHO_CANCELLER_SET_FRAMESIZE,&ec_framesize) ;
}

Expecting anybody can give me some advices to cancel the hateful echo.
Best regards!
madong727 is offline   Reply With Quote
Unread 09-03-2010, 07:01 PM   #2
Aviator168
Junior Member
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Aviator168 is on a distinguished road
Default

Good echo cancellation is very tricky.

The easy way is to turn off the speaker when you detect cadence on the mic or turn off the mic when detecting cadence on the speaker. Do either one but no both.
Aviator168 is offline   Reply With Quote
Unread 09-04-2010, 01:38 AM   #3
madong727
Junior Member
 
Join Date: Sep 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
madong727 is on a distinguished road
Default

Quote:
Originally Posted by Aviator168 View Post
Good echo cancellation is very tricky.

The easy way is to turn off the speaker when you detect cadence on the mic or turn off the mic when detecting cadence on the speaker. Do either one but no both.
Thank you all the same!
madong727 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
echo cancellation madong727 Voxalot Support 0 09-03-2010 11:50 AM
echo cancellation madong727 Site Information and Administration 0 09-03-2010 11:48 AM
Echo Problem on Inbound Calls Cyberian75 Voxalot Support 2 07-12-2009 06:23 PM
echo using PAP2 with dialplan dougnash Voxalot Support 2 08-14-2006 11:22 AM
Echo Test - a bit LOUD?! ctylor Voxalot Support 4 05-02-2006 01:28 AM


All times are GMT. The time now is 11:10 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.