Client-side acoustic echo cancellation support added to Flaphone, it will be available if you use Flash Player ver. 10.3 or higher. Please note that it won’t work with Windows 7 64bit (server-side AEC will be used) due to bug in release version of Flash Player 10.3, you can vote for issue to fix it faster at http://bugs.adobe.com/jira/browse/FP-6888 . AIR version will be updated later.
We’ve spent some time testing Speex AEC wrapped in SWC through Alchemy and finally have few points about that:
Speex AEC is working well, but in Flash it’s hard to use it, because of async nature of all SampleDataEvent calls. Although in few tests we saw it working, in real life it won’t work because of big latency and variable time between SampleDataEvent calls.
New flash player 10/10.1 audio features - playing audio samples and accessing audio samples from microphone will work only for non-realtime applications
Now it’s impossible to get audio data from RTMP audio stream and put it back to RTMP audio stream after it’s changed (applying AEC filters)
So even having access to samples on AS level it’s impossible to implement client-side AEC for Flash now. There are 2 options: wait until Adobe adds AEC to flash player itself (best solution, but unknown feature release date: Jobs is right about Adobe, they are lazy), implement server-side AEC (very complicated solution, won’t work for new flash P2P capabilities).
Adobe has informed that they are working on AEC support in Flash Player and it will be available later in the next release after 10.1, but we don’t want to wait another few years. In FP 10.1 we got access to microphone samples and playback samples and it makes possible to use some AEC. Although there are a lot of problems (only 44KHz playback mode) and async events firing our first tests showed that it actually works, but still have to solve some minor problems and adjust AEC for better quality. Prepare to have up to 40-50% of CPU load when AEC is working, but for most people AEC is worth it.
As we’ve already written flash player doesn’t support AEC now and even in flash player 10 beta we couldn’t find AEC support. That means that we have to use headset to remove echo problem, but if Adobe implements AEC for flash player we’ll be able to use flash real-time audio communications with loudspeakers. AEC is a very big advantage for VoIP services based on flash technology. Let’s vote for AEC support in Flash Player 10 release version! To vote use the next link: http://bugs.adobe.com/jira/browse/FP-273 , but first you have to register on Adobe’s jira website, using the following link: http://bugs.adobe.com/jira/secure/Signup!default.jspa