Skip navigation

echo cancellation

Jun 15, 2009 12:22 PM

  Latest reply: Robert Christensen, Oct 19, 2011 7:20 PM
Replies 1 2 Previous Next
  • Currently Being Moderated
    Jan 5, 2010 8:39 AM   in reply to M_Bakker

    AEC is something flash player will provide in future and when that happens, LCCS will automatically start to have AEC for its audio. You can ask in the flash forums for a more detailed timeframe.

     

    Thanks

    Hironmay Basu

     
    |
    Mark as:
  • bernard.h
    85 posts
    Nov 14, 2009
    Currently Being Moderated
    Apr 13, 2010 7:17 AM   in reply to esteimle

    I added a pushToTalk button to my application. This little feature mute your speaker when you talk and mute also all microphones in the room. This maybe a little solution till the echo cancellation will be available.

     

    http://imundo.me

     

    Bernard

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 20, 2010 8:29 AM   in reply to esteimle

    Hi adobe development team,

     

    I've been watching this thread for a long time, our website also provide VOIP using flash player, and our users always complain that it's very easy to have echo which disturb their normal conversation. The only way we can do is to lower microphone's volume, but it leads to another issue that some users's voice become very small.

     

    After so many complaints for the echo issue, can anyone in adobe give us a clear answer for it? Will adobe support echo cancellation? If yes, when will it happens? So that we can adjust our bussiness strategy, instead of just sitting here and wait.

     

    Anyone please make some updates to the community.

     

    Thanks and Regards

    Jell

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 20, 2010 10:16 AM   in reply to semi_sleep

    Hi Jell,

     

    The audio echo cancellation feature is a core functionality of the Flash Player and AIR runtimes.  Though the LCCS team has stressed the importance of this feature to the Adobe runtime teams, it's always better when they hear it directly from impacted developers and customers.  I encourage you to voice your concerns and vote for this feature here...

     

       http://bugs.adobe.com/jira/browse/FP-273

     

    Thanks,

    Fang

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 20, 2010 7:59 PM   in reply to Fang Chang

    Thanks Fang, I will move this to the Adobe Bug System.

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2010 6:05 AM   in reply to Robert Christensen

    Dear Adobe Employees,

     

    Since it looks like this issue is still open, please allow me to suggest a simple solution that you can easily & quickly implemet.

     

    All you need to do is simply to supply API to access the audio (i.e. read frames of audio signal and write them back). We will do the rest from there.

     

    We will simply use a commercial SDK to do server side AEC. SoliCall is one SDK that I am familiar with but I am sure there are others as well.

     

    Sounds like a plan ?

     

    Best Regards,

    Valer

     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2010 12:29 AM   in reply to esteimle

    Maybe it's my own ignorance here...

     

    But what about these options as a temporary solution.

     

    1. I mean making a routine that the first person to speak grabs hold of the mic...that user's speaker volume is reduced.... "the first person to speak" can be decided either by pressing the talk button... or by sound level... in case of noise background, would have to filter out background noise... which would get kinda complicated...

    2. Voice leveling... if there is a spike [due to noise] in volume level the mic is automatically adjusted.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 29, 2011 12:17 PM   in reply to daminee80

    Check out this blog http://www.solicall.com/blog/?p=27 - for a discussion on echo cancellation for browser-based applications.


     
    |
    Mark as:
  • bernard.h
    85 posts
    Nov 14, 2009
    Currently Being Moderated
    Jan 29, 2011 12:36 PM   in reply to daminee80

    I did it daminee80...

     

    Try this:

     

    http://imundo.me

     

    and press the "talk" button when you speak.

     

    Your speaker volume is reduced and user's mic is reduced too.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 31, 2011 10:10 AM   in reply to bernard.h

    Hi~ bernard-qc

     

    I've tried your app, and I didn't hear any echo.

     

    I think it would be a nice solution for this time.

     

    Could you please tell me how did you do it?

     

    How do you mute the speaker?

     

    i tried the code like this:

    //

    var newSoundTransform:SoundTransform=new SoundTransform();

    newSoundTransform.volume=0;

    this.soundTransform=newSoundTransform;

    //

     

    but it's not work.

     
    |
    Mark as:
  • bernard.h
    85 posts
    Nov 14, 2009
    Currently Being Moderated
    Jan 31, 2011 10:33 AM   in reply to kkk1234567

    Hi,

     

    You do this via the audioSubscriber :

     

    audioSub.setLocalVolume(.2);

     

    Bernard

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 31, 2011 8:07 PM   in reply to bernard.h

    Bernard-qc,

     

    I also am getting terrible echo and it`s almost to the point where it renders the app. useless for users!  I have tried setting useEchoSuppression="true", but it appears to have only a negligible effect!

     

    The LCCS team has done an awesome job, and the service is great, but I`m afraid that there needs to be some improvement in the audio department.  With apps. like Skype setting the precedent for p2p video chat, users/customers will simply not tolerate being required to wear a headset any more!

     

    Thank you for this!  I will give it a try!

     

    Matt

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 31, 2011 9:33 PM   in reply to phaseblue

    Echo cancellation is coming in the Flash player. You just need to hang in there a little longer.

     

    Sent from my iPhone

     
    |
    Mark as:
  • bernard.h
    85 posts
    Nov 14, 2009
    Currently Being Moderated
    Feb 1, 2011 5:53 AM   in reply to Raff.

    Hi Raff,

     

    Two things remain to be corrected from here the arrival of the player 10.3: Echo cancellation and the loss of the audio signal coming sometimes from a participant in particular. It is often necessary to refresh the audio communication (stop/start audiopub or audioSub.resetAllStreams). Also, it arrives as sometimes as certain systems and navigator freezes when there are several participants at the same time. However, the reader 10.2 seems to have corrected this problem partly. All the remainder is A1!

     

    Bernard

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 21, 2011 4:03 PM   in reply to bernard.h

    Hi.

    Please keep us posted on the projected "arrival date" of the echo cancellation feature. This problem is creating havoc with a project I am busy with (and I'm sure I'm not alone). It would help alot to know if there is going to be a delay (or hopefully an earlier date for solution) if June does not stay fixed in concrete as the due date.

    Thanks

    Michael

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 22, 2011 8:57 PM   in reply to esteimle

    Judging from Rob Christensen's comment on Jul 7, 2009, Echo Cancellation has been worked on for the last year and a half... still nothing?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 22, 2011 9:10 PM   in reply to munkeeboy

    Like fine wine, valuable new features can take time. That said, I can say we are making great progress on this.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 22, 2011 9:24 PM   in reply to Robert Christensen

    Great! I hope that also includes any "issues" that may still exist when

    multiple participants are talking at the same time (per Bernard's post #28).

    Please keep us appraised of progress. I look forward to sipping this "wine"

    when its ready to drink ...

    Thanks for taking the time to keep us informed.

    Michael

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2011 9:25 AM   in reply to ozsignman

    Hi Folks,

     

    Good news. We just released the beta version of Flash Player 10.3 for Windows, Mac, and Linux on Adobe Labs tonight. You can check out the new features of Flash Player 10.3 including the AEC feature now. Let us know what you think.

     

    Thanks,

    Fang

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2011 12:18 AM   in reply to Fang Chang

    Hi Fang.

    My Developer is telling me that Flash 10.3 has "low volume of audio", and that interruption of audio coccurs. Have you had these reports?

    Have others (on this forum) tested it to determine whether this occurs generally?

    Has it been tested on various browser engines?

     

    We'd really like to get to the stage where we can use this software in the knowledge that there are "no surprises".

     

    If we can't I'd appreciate a pointer from anyone to an alternative product, as we are being delayed in bringing our project to the market.

     

    Thanks

    Michael

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2011 10:45 AM   in reply to ozsignman

    Hi Michael,

     

    We double checked the Audio issue, and we werent able to reproduce the issue you reported.

     

    Are you using lccs 10.3 beta swc ?. Can you share little more information about the SDK version, OS name & the browser you are using.

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2011 4:42 PM   in reply to aponnusa

    Thanks Arun. I have sent your requests to my Developer and am awaiting their

    response. As soon as I receive it I will advise you. They did say they were

    going to be carrying out further tests over the next day or 2.

    We appreciate the speedy response form you guys ...

    Cheers.

    Michael

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 27, 2011 11:40 PM   in reply to aponnusa

    Hi again Arun.

     

    My developer advises that thaye tested it - it does not work at all. no sound when using AEC. They found previous release of beta 2, was working better than current release candidate". Here is the additional info you wanted:

     

    1) Flash Player 10.3 release candidate. full version is 10.3.180.65

    2) SDK: we have tried flex_sdk_4.5.0.17689 stable and flex_sdk_4.5.0.19786

    3) OS: Windows 7 OS

    4) Browser: IE 8.0.7600.16385 and Firefox 4.0

     

    Thanks for the ongoing assistance. I hope your patience does not wither. Hang in there!

    Regards, michael

     

    Message was edited by: ozsignman

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 27, 2011 11:43 PM   in reply to ozsignman

    Error in my posting above (and systemn will not let me Edit it)

    1) should read as follows:

    1) Flash Player 10.3 release candidate which latest version 10.3.181.5: NOT WORKING. No sound at the recipient end at all.

    Apologies,

    Michael

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2011 1:20 PM   in reply to ozsignman

    Hi Michael,

     

    I have posted a link that has a sample Audio App with the latest 10.3 swc and AEC enabled. - http://blogs.adobe.com/arunpon/files/2011/04/AudioEx.swf

     

    Can you check if this app is working in your setting? If this app works, then something could be wrong with your code or settings. Let us know how things go at your end.

     

    Also if you can post us some logs, or the code it would help my team to be prepared before your demo.

     

    Also I tried building an app with Flex SDK 4.5 and was hitting a few issues, while Flex 4.1 worked great. Can you try your app with Flex 4.1 too and check if your fails with Flex SDK 4.1 too.

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 29, 2011 12:43 AM   in reply to aponnusa

    Hi Arun.

    As I have limited knowledge and am therefore unable to do what you have

    requested, I have forwarded this to my Developer with the request that he do

    the necessary. I hope that he will get onto it really quickly. If he doesn't

    I will revert to you. perhaps its better if I am able to email your Private

    Mail?

     

    I am most anxious to resolve this problem (as I'm sure you are), and I

    really appreciate your speedy responses. It reflects well on the entire

    customer-service culture of Adobe. Good job!

     

    Thanks, Michael

     
    |
    Mark as:
  • Currently Being Moderated
    May 9, 2011 6:44 PM   in reply to aponnusa

     

    hey arun, i have the same issue, using the SWF you linked.  when a client connects in windows, there is no echo cancellation happening, there is full feedback.  when both clients are connected in OSX, aec works perfectly fine.

     

    windows XP, ie6 and firefox 4.1 (with flash player 10.3 release candidate)

     

    OSX 10.6.4, safari, chrome, firefox (all latest browser versions and 10.3 fp release candidate)

     

    can you confirm that there's an issue with windows and AEC? i don't have windows vista nor windows 7 to test, but many of my clients will be using XP anyway, so i need to resolve that.

     

    thanks.  when the AEC does work, it's great.

     

    adam

     
    |
    Mark as:
  • Currently Being Moderated
    May 10, 2011 1:32 PM   in reply to adam+k

    We will test this again on different Windows environments and get back to you. Thanks!

     
    |
    Mark as:
  • Currently Being Moderated
    May 10, 2011 1:35 PM   in reply to Raff.

    I just checked in and thinking to take a nap

    I will look for you guys after I get some sleep

     

    Cheers,

    Mihai Corlan | Developer Evangelist | Adobe Systems

    Blog: http://corlan.org <http://corlan.org/>

    Twitter: http://twitter.com/mcorlan Mobile: +40 731 498 764

     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2011 10:58 AM   in reply to Mihai Corlan

    mihai, raff, thanks for the responses. have you had a chance to test?

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2011 1:45 PM   in reply to adam+k

    Hi Adam,

     

    Sorry for the delayed response. Our QE's tested AEC on a Win XP machine, and it seemed to work for them.

     

    Did you try checking the useEchoSuppression flag, Can you test on a different Windows machine and check if you have the same issues. Also we have had other users use the AEC feature, and would have known if they faced any issues.

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2011 3:47 PM   in reply to aponnusa

    hey arun, thanks for the reply.  i hadn't tried the echo supression flag because i thought it was an old option from the previous flash player.  i don't have access to an XP machine at the moment but will try and let you know.

     

    i tried the SWF you guys published because i was having trouble with my own application and AEC not working.  it seems i did have it working at one point, and then after a few changes, echo had returned.

     

    i think i may have a configuration problem.  can you tell me exactly what i should be doing to enable AEC in my app?  there are a few threads in this forum regarding that, but some are outdated and i want to confirm the steps.

     

    i'm building using Flash Builder Burrito (still the preview, haven't installed the first release)

     

    - use the LCCS SWC configured for AEC that is linked in this forum

    - compile using flex 4.1 sdk

    - target 10.3.0 player

    - additional compiler option of -target-player=12

    - 10.3 playerglobal.swc in [flex sdk 4.1 root]/frameworks/lib/player/12.0

     

    do i need to call Microphone.getEnhancedMicrophone() and useEchoSupression(true) ? i have not been doing that - i assume that the LCCS swc has already been configured to do so?

     

    thanks

    adam

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2011 3:36 PM   in reply to adam+k

    Hi Adam,

     

    The app I built also follows the steps you mentioned. You dont have to do use Microphone.getEnhancedMicrophone() or useEchoSupression(true), and as you mentioned we do it for you in the get selectedMic() api.

     

    Can you share your code if possible.

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    May 20, 2011 1:01 AM   in reply to aponnusa

    We also have a problem. Our code is:

    ---

    this.mic = Microphone.getEnhancedMicrophone(miccb.selectedIndex);
    var options : MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
    options.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
    options.autoGain = false;
    options.echoPath = 128;
    options.nonLinearProcessing = true;
    this.mic.enhancedOptions = options;
                   
    this.mic.addEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
    this.mic.setUseEchoSuppression(true);
    this.mic.setLoopBack(false);
    this.mic.gain = 90;
    this.ns.attachAudio(this.mic);

    ---

     

    Mainly problem is because recipient do not receive any audio at all. Looks like microphone is not getting initialized in some version of Flash Player. We have tried 4 different version of Flash Player:

    1) 10.3beta - works fine, at least we can hear audio on the recepient end!

    2) 10.3 RC1 - NOT working, we can't hear sound on the recipient end. also tried few other example we were able to find in the Internet with AEC

    3) 10.3 Release (10.3.181.14) - NOT working, same as RC1

    4) 11 Incubator - works fine (tested in firefox 4.0.1, Google Chrome 11.0.696.68)

     

    We made tests on several computer driven on Windows 7, Windows XP, Ubuntu 11. Test was made with FMS 3.5 and 3.1 server.

     

    To analyze the problem we have added a trace function:

    ---

    private function micSampleDataHandler(event:SampleDataEvent):void{
      trace("micSampleDataHandler: " + event.data.bytesAvailable);
    }

    ---

     

    and result of trace is:

    1) without AEC, initialization of microphone is this.mic = Microphone.getMicrophone();

    ---

    netStatusStreamHandler NetStream.Publish.Start
    micSampleDataHandler: 1024
    micSampleDataHandler: 1024
    micSampleDataHandler: 2048
    micSampleDataHandler: 2048
    micSampleDataHandler: 2048
    micSampleDataHandler: 1024
    micSampleDataHandler: 1024
    micSampleDataHandler: 1024
    micSampleDataHandler: 1024
    micSampleDataHandler: 2048
    micSampleDataHandler: 1024
    micSampleDataHandler: 1024
    micSampleDataHandler: 1024

    ---

    etc.... so it WORKS if we do not initialize AEC

     

    2) with AEC initialized: this.mic = Microphone.getEnhancedMicrophone();

    ---

    netStatusStreamHandler NetStream.Publish.Start

    ---

    and NO data from Microphone.

     

    Should I post it as Bug somewhere? if yes, let me know where.

     
    |
    Mark as:
  • Currently Being Moderated
    May 20, 2011 3:10 PM   in reply to softservice.alen

    Hi There,

     

    Thanks for the extremely detailed report - this is the sort of leg-work

    that makes our jobs SO much easier. Much appreciated.

     

    A quick question : Are you using a system with more than one microphone?

    Say, an internal mic, a USB mic, etc?

     

       thanks

       nigel

     
    |
    Mark as:
  • Currently Being Moderated
    May 20, 2011 4:41 PM   in reply to softservice.alen

    Hi Alen,

     

    Are you working with LCCS ?

     

    We did test AEC and it seemed to work for us with player versions you mentioned. Can you double check again at your end.

     

    Thanks

    Arun

    Attachments:
     
    |
    Mark as:
  • Currently Being Moderated
    May 21, 2011 9:35 AM   in reply to Nigel Pegg

    Thanks Nigel, we are also developers and completely understand detailed report is very helpful.

     

    we actually tried different computers

     

    1) We have 2 mic devices on Windows 7

    * Internal mic on the motherboard (Intel platform with Core-i5 processor)

    * USB dirven Mic embedded into webcam

     

    2) there was 1 mic on Windows XP

    * Internal on the motherboard  (AMD based Athlon 64 X2)

     

    3) there was 1 mic on Ubuntu 11

    * Internal mic on the Motherboad (AMD based Athlon 64 X2)

     

    situation is identical on all computers, looks like it does not related to the hardware where Flash application is played on. We also tested it with our client in Australia, and he was getting similar issues.

     
    |
    Mark as:
  • Currently Being Moderated
    May 21, 2011 9:57 AM   in reply to aponnusa

    Thanks Arun,

     

    actually I saw this Flash application, but actually I am not sure how I should understand if it works for me?

    basically I can move Gain, I can click on Enter... thats all. I don't see any dynamic changes like I think there should be Mic volume bar running/changing? I also don't hear anything.  Probably this application is not working for me as well.

     

    I am using Chrome browser and  here is my screenshot:

    adobe_fp_aec_issue.JPG

     

    Menu is Russian but Flash Player version is in English and its 10.3.181.14. Same version says if I go to http://www.adobe.com/software/flash/about/

    Hope that helps!

     

    Thank you and have a nice weekend!

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2011 3:26 AM   in reply to softservice.alen

    Hi guys, any word yet?

     

    I did more testing today and figured one interesting thing.

     

    I have 2 microphone devices:

    1) Standard microphone on the motherboard (works fine for me in Skype and in Flash without AEC)

    2) USB camera with embedded microphone (also works fine in Skype and in Flash w/o AEC activated)

     

    today did some tests with your application

    http://blogs.adobe.com/arunpon/files/2011/05/Audio103.swf

     

    And I mentioned one important things on the Mic preferences in Flash, see screenshot:

    adobe_aec_issue.png

    As soon as I initialize Mic with AEC looks like there is no data from my default microphone. However it works fine if I use it without AEC initialization on the same  Flash Player 10.3

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2011 10:09 AM   in reply to softservice.alen

    Hi There,

     

    How are you initializing the mic with AEC? Everything seems to work for me

    as well.

     

      nigel

     
    |
    Mark as:
1 2 Previous Next
Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points