header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Manpreet patil
Points:0
Posts:0

1/21/2011 3:59:00 AM

Title: how to reduce echo of microphone in flex


I'm trying to build a video chat program using Adobe Flex but there is a giant problem with echos. If the participants arn't using headsets, everything they say echos. Worse, they can actually create positive feedback loop of echos that won't end until the mics are muted.

Has anyone found a solution for this on the Flex/Flash platform?

My software is using the Speex code

Regards
Manpreet



1
Troy
Points: 820
Posts:0
1/21/2011 4:42:13 AM



Right click on flash movie and select settings. In the Flash Player Settings Window click on the mic tab and select Reduce Echo option.

or

you can use the setUseEchoSuppression in actionscript code .




var myMic:Microphone = Microphone.getMicrophone(0);
myMic.setUseEchoSuppression(true);


2
Caldwell
Points: 0
Posts:0
1/21/2011 4:50:11 AM



reducing the mic volume and also disabling the mic boost is also helpfull in reducing the echo. Mic boost in in advanced settings of system volume.

3
Duke
Points: 0
Posts:0
1/21/2011 7:45:13 AM



with speakers there will be a lot of echo , unfortunately there is no proper solution to overcome this kind of echo with flash player. its better to use headphones instead to avoid feedback audio. The above solutions mentioned by troy and caldwell should help to some extent.

4
Manpreet Patil
Points: 0
Posts:0
1/21/2011 9:43:15 AM



hello thanks Everyone...

there is any method to set the mic volume by code for how we can control mic. boost at run time..and how we can handle all of this at run time by code...is there any way to implement the Acoustic Echo Cancellation (AEC) for reducing echo. or any other solution...

because in skype we are not feeling echo..when we are doing audio chat with more then two person

regards
Manpreet

5
Bryse
Points: 0
Posts:0
1/22/2011 1:51:18 AM



Acoustic Echo Cancellation is not possible with flash player. ADOBE is very bad on this. A long awaited feature.

You can control the Microphone volume using following code. Value can be from 0 to 100.
my_mic.setGain(50);

Boost cannot be controlled using actionscript.

6
Jim
Points: 0
Posts:0
1/24/2011 3:32:34 AM



Check out the following interesting blog on this http://www.solicall.com/blog/?p=27

7
Daniel
Points: 0
Posts:0
2/19/2012 2:43:04 AM



use


Microphone.getEnhancedMicrophone();


8
Manpreet Patil
Points: 0
Posts:0
2/19/2012 5:26:54 AM



Thanks Daniel,
I got the solution.I already mention the solution in my blog
http://videostreamingexpert.blog.com/



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 0+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions