1

What is the best way to do Acoustic Echo Cancellation (AEC) for a Flash video chat application (that uses RTMP)? Any example code please?

skaffman
  • 398,947
  • 96
  • 818
  • 769
JoHa
  • 1,989
  • 10
  • 28
  • 42

2 Answers2

3

Have you tried targeting Flash Player 10.3 and using the getEnhancedMicrophone() method?

Jayesh
  • 3,891
  • 11
  • 55
  • 83
  • Yes I tried, but I got lost.. is it only applicable under Flex? Whenever I try it using Adobe Flash CS5.5 it keeps telling me that the function is not recognized.. – JoHa Aug 15 '11 at 07:44
  • 1
    Apparently, the problem is that you need to compile your swf using some arguments like -swf - version=12, CS5 doesn't let you pass these arguments and hence, you got to use FLEX, just to compile your swf. Even I am working on it. Would write back if I could make it work successfully. – Jayesh Aug 15 '11 at 07:57
  • Thanks! Waiting to see if you can make it work well.. I am totally new to Flex although I have it installed and played around with the MXML.. yet it is hard to redo the whole thing using it.. also I am not sure how I can import a regular FLA file into the Adobe Flash Builder and then use Flex to cover these "missing" functionality.. would be great if you can guide me! Thanks! – JoHa Aug 16 '11 at 03:21
  • Just to be clear: I could get the thing to work with Flex, but was lost when it comes to integrating that to my already made thing on Adobe Flash CS5.5.. is there a way to import the "FLA" file and then add that flex libraries into it using Adobe Flash Builder? Is there a step by step guide? So, I have the getEnhancedMicrophone() example working on Flex (Adobe Flash Builder), and I have my own chat application done on Adobe Flash CS5.5 (FLA file).. how can I now integrate both using Adobe Builder/Flex without the effort of redoing things using MXML? – JoHa Aug 16 '11 at 03:25
  • Here is the solution to the problem of how you can still do it from within Adobe CS5.5 Professional: http://stackoverflow.com/questions/6581453/aec-in-flash-getenhancedmicrophone – JoHa Aug 17 '11 at 18:55
0

I suggest you start here it contains pointers to examples, open issues etc.

Jim
  • 326
  • 1
  • 4