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
    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:
  • Currently Being Moderated
    Jun 1, 2011 2:39 AM   in reply to Nigel Pegg

    Hello.

    We have same problem to. I registered it to the JIRA (http://bugs.adobe.com/jira/browse/FP-7065).

    Out code for mic initialization:

     

     

            private function initMicrophone():void

            {

                _microphone = Microphone.getEnhancedMicrophone();

                _microphone.codec = SoundCodec.SPEEX;

                microphone.rate = 44;

                microphone.enableVAD = false;

                microphone.noiseSuppressionLevel = 0;

                microphone.setSilenceLevel(0);

     

                        var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();

                        options.mode = MicrophoneEnhancedMode.FULL_DUPLEX;

                        options.autoGain = true;

                        options.echoPath = 128;

                        options.nonLinearProcessing = true;

                        _microphone.enhancedOptions = options;

            }

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 2, 2011 6:18 AM   in reply to Nigel Pegg

    Hi,

    I just started seeing this also. Where the prompt for the mic go up but no sound. It seems like if you stop publishing then publish again. it starts working.

    According to the room console the mic is on, and you can hear people in the room console but others cant hear on the real site.

     

    I havnt done anything to the audioSubscribers. But have been tweeking the publisher for thoes who dont have 10.3

     

    _audioPub = new AudioPublisher();

    _audioPub.codec = "SPEEX";

    _audioPub.useEchoSuppression = true;

    _audioPub.silenceLevel = 0;

    _audioPub.silenceTimeout = 5;

     

    As a side note. I know there wont be an official buld for a whie but any chance of a flash only swc?

    thanks.

    ...russ

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 2, 2011 10:41 AM   in reply to asciibn

    Hi Russ,

     

    We have a release coming pretty soon, and I could try to build a flash only swc for 10.3 with AEC support along with the release.

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 2, 2011 12:30 PM   in reply to aponnusa

    Hi Arun,

    That would be great.

    I think there are a lot of folks on the board (including my self) that would love the option of AS3 only SWC for testing on things like android.

     

    Much appreciated.

    ...russ

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 3, 2011 1:06 PM   in reply to asciibn

    Hi Russ,

     

    Posted a flash only swc with AEC support @ http://forums.adobe.com/thread/860488

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 9, 2011 3:08 PM   in reply to esteimle

    Hi,

     

    I developed a simple P2P chat with audio/video using FMS4 and when I activate the AEC (Microphone.getEnhancedMicrophone();) I get a 2 seconds' constant latency. Just removing the AEC (Microphone.getMicrophone();) and all become real-time again, with no delay.

    Does anybody have the same problem?

    How can I solve this issue?

     

    Regards,

     

    Flavio Mikami

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2011 12:39 AM   in reply to esteimle

    Hi. This is to the guys from Adobe.

    Do youy have any idea when you may be bringing out a fix to the issues raised, particularly those raised in postings #48, #51, #52, #55 by softservice.alen?

    Please can you keep as informed of an ETA - it will assist us plan.

    Thanks

    Michael

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2011 9:18 AM   in reply to ozsignman

    Hi guys,

     

    I think you should take these bugs to the Flash Player forum - we've got

    several users saying everything's working, and the app works here for us.

    It's also the case that these reports aren't for LCCS - these are folks

    building FMS apps. We'd love to have time to help everybody, but we've got

    to stay focused on our own product.

     

      thanks

       nigel

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2011 9:22 AM   in reply to ozsignman

    Also, you might want to check out this other thread, where someone had a

    similar issue, then solved it by reading the forum posts explaining AEC :

    http://forums.adobe.com/thread/864310?tstart=0

     

      nigel

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 18, 2011 6:48 AM   in reply to Robert Christensen

    Hi Rob, do you know when is the enhanced microphone going to be available for mobiles ?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 19, 2011 7:20 PM   in reply to yonodo

    We're looking very seriously into it for a future release. Unfortunately, I do not have a time horizon to share with you right now.

     
    |
    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