Lady and gentlements!
Remember day of 8 March, year 2011!
In this day Adobe magically opens a new era of web-telephony.

------ Why? ------
Because on March 8 was launched Flash Player 10.3 beta which contains …attention… new Acoustic Echo Cancellation!
And know what? It works perfectly.

Up to this day calls via flash phones were really UGLY, because the flash player had a strong ECHO.
When you speak with someone who used open speakers (laptop, notebook,tablet) - you'll hear your echo.
And if your partner also uses such a device - huge double screaming echo will burst your ears.

But now everything is different.
Now you can calmly talk through the web fleshphones. Without annoying echo.
You will hear each other and will not hear youself at all.
Now flashphones will be officially used in many business structures and a large number of web-saas services.

Long live the era of web-phones! Hooray!
Ok, lets move forward....

------ What is the Acoustic Echo? ------
Acoustic Echo is just like Usual echo, but there is one deffrerence

Usual echo is your own voice, reflected from the walls. It arises in the echoing rooms, caves and mountains
Acoustic echo is your own voice, came from the speakers of your collocutor. It arises when your friend use open dynamics.

Acoustic Echo appears every time when you use open dynamics.
In some cases, the echo suppressed by desktop phone applications like Skype, Bria and other.

But there is problem with browser Flash applications.
Untill now, Flash does not support real echo cancellation. And if you wanted to make a web phone - you had to implement echo cancellation on the server side. It was very difficult to do technically, and it use a lot of server resources during the further work.

But finally Adobe implement AEC in the Flash Player 10.3 and now this problem solved!
(Check related issue in the Adobe track system)
Acoustic Echo Cancellation feature is bundled with Adobe Flash Player version 10.3 beta and above.
You can get more info here:

------ How to use the Echo Cancellation? ------
To use new AEC feature you need recompile your flash app with some new parameters.
Follow this steps:
  1. Install Flash Builder 4
  2. Install Flex SDK 4.5
  3. Configure it
  4. Install Adobe Flash Player 10.3
  5. Update your playerglobal.swc file
  6. Replace this string in your code
    Code:
    mic = Microphone.getMicrophone();
    by this
    Code:
    mic = Microphone.getEnchancedMicrophone();
  7. Configure your Flex project properties like on the picture
  8. Rebuild your app
  9. Enjoy! From now your app has definitely NO echo!


------ How to use the Echo Cancellation with Flashphoner? ------
You should recompile flashponer_client with new libraries to get AEC feature.
Follow this steps:
  1. Install Flash Builder 4
  2. Install Flex SDK 4.5
  3. Configure it
  4. Install Adobe Flash Player 10.3
  5. Update your playerglobal.swc file
  6. Download flashphoner_client and flashphoner_api projects from Flashphoner SVN repository (see Flashphoner developer guide)
  7. Import it to Flex Builder (see Flashphonr developer guide)
  8. Find this class in flashphoner_api project –
    Code:
    com.flashphoner.api.management.SoundControl
  9. Replace this string in code of this
    Code:
    mic = Microphone.getMicrophone();
    by this
    Code:
    mic = Microphone.getEnchancedMicrophone();
  10. Configure properties of flashphoner_api project like this (more info in our blog):
  11. Configure properties of flashphoner_client project like this (more info in our blog):
  12. Rebuild both projects (first flashphoner_api, then flashphoner_client)
  13. Enjoy! If you did all correct, you will have no echo at all.


------ More details ------
For more details please visit:
  1. Our blog - www.flashphoner.com/blog
  2. Our documentation - http://docs.flashphoner.com