What happened?

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 appeares 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 (from here)
2. Install Flex SDK 4.5 (from here)
3. Configure it (video tutorial)
4. Install Adobe Flash Player 10.3 (from here)
5. Update your playerglobal.swc file (get from here and put here «C:Program FilesAdobeAdobe Flash Builder 4sdksflex_sdk_4.5.0.19786frameworkslibsplayer10.3»)
6. Replace this string in your code
mic = Microphone.getMicrophone();
by this
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 compile flashponer_client with new libraries to get AEC feature.
This steps describes how to accomplish this.
1. Install Flash Builder 4 (from here)
2. Install Flex SDK 4.5 (from here)
3. Configure it (video tutorial)
4. Install Adobe Flash Player 10.3 (from here)
5. Update your playerglobal.swc file (get from here and put here C:Program FilesAdobeAdobe Flash Builder 4sdksflex_sdk_4.5.0.19786frameworkslibsplayer10.3)
6. Download flashphoner_client and flashphoner_api projects from Flashphoner SVN repository (see developer guide)
7. Import it to Flex Builder (see developer guide)
8. Find this class in flashphoner_api project – «com.flashphoner.api.management.SoundControl»
9. Replace this string in code of this
mic = Microphone.getMicrophone();
by this
mic = Microphone.getEnchancedMicrophone();
10. Configure properties of flashphoner_api project like this:

11. Configure properties of flashphoner_client project like this:

12. Rebuild both projects (first flashphoner_api, then flashphoner_client)
13. Enjoy! If you did all correct, you will have no echo at all.

Please write us to support@flashphoner.com with any questions