1 2 Previous Next 52 Replies Latest reply: Oct 21, 2011 4:07 AM by aj-runtimelogic RSS

    AEC 10.3 swc

    Hironmay Community Member

      Hi ,

       

      I am just putting a drop of LCCS 10.3 swc that supports echo cancellation based on player 10.3 beta release yesterday. Its a local build for me and not tested and it doesn't have the multicast stuff either( as I just built it on our player 10 swc). I just wanted to throw out something for ppl to try out echo cancellation.

       

      I am attaching the swc

      Things you will need if you are using flex builder

       

      a) you need to have additional compiler option as -target-player=12

      b) You need to have the 10.3 playerglobal.swc in your Flex SDK

      c) You need to have flash player 10.3 installed on your machine.

       

      Since there are additional classes , we will in future have to give out a new swc for 10.3 in all likelihood. But for now, test and let us know how AEC works for you.

       

      Hope this helps

      Thanks

      Hironmay Basu

        • 1. Re: AEC 10.3 swc
          esteimle Community Member

          AEC seems to work great here mac and pc, although every time I try to add

          video in firefox or ie on windows it crashes (it is a beta player after

          all).   Audio only seems to work great though.   Thanks for putting this out

          so quickly!

           

          -Eric

          • 2. Re: AEC 10.3 swc
            Hironmay Community Member

            Hi Eric,

             

            Great to know that things are working fine. Can you also file a flash

            bug or update the player team so that they fix these crashes ? Customer

            feedback will make things move faster !

             

            Thanks

            Regards

            Hironmay Basu

            • 3. Re: AEC 10.3 swc
              Sanjay_Ankoti Community Member

              Did I need to change at the code level or I just have to follow the points that you mentioned?

               

              Thanks,

              Sanju

              • 4. Re: AEC 10.3 swc
                bernard.h Community Member
                Is it possible that the codec of Nellymoser is not compatible with 10.3?
                • 5. Re: AEC 10.3 swc
                  Raff. Adobe Employee

                  Can you explain what problem you are having ? It may be possible that something is not right (the player is still a beta version) so it would be useful to get as much details on what you are seeing and what type of testing you are doing.

                  • 6. Re: AEC 10.3 swc
                    bernard.h Community Member

                    Even if I select the codec Nellymoser, the quality of the sound is similar to the codec of Speex. Less clearly than before.

                    • 7. Re: AEC 10.3 swc
                      Nigel Pegg Community Member

                      So, why do you want Nellymoser? Speex is definitely better for speech

                      encoding.

                       

                        nigel

                      • 8. Re: AEC 10.3 swc
                        bernard.h Community Member

                        It's true Nigel, Speex has a better encoding but does not have a better sound quality than Nellymoser (after many tests).

                         

                        encodeQuality=10 vs .rate=22 : Nellymoser is more crisp and clear and more acceptable after several minutes of discussions.

                        • 9. Re: AEC 10.3 swc
                          esteimle Community Member

                          I may be putting my foot in my mouth but I'd bet if you want AEC you have to

                          use speex.  I'm guessing the flash player AEC implementation is based on the

                          speex AEC unless they went out and licensed someone's AEC code for all flash

                          player users.   Anyone know if that's true?

                           

                          -Eric

                          • 10. Re: AEC 10.3 swc
                            g_w_master

                            can some one give link for example

                            or give code of small example that i can compile

                            i try

                             

                            <rtc:AudioPublisher id="audioPub"  />

                             

                            //

                            var enhancedOptions:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();

                            enhancedOptions.autoGain = false;

                            enhancedOptions.echoPath = 128;

                            enhancedOptions.nonLinearProcessing = true;

                            audioPub.microphone.enhancedOptions = enhancedOptions;

                            audioPub.microphone.codec = "Speex";

                            audioPub.microphone.encodeQuality = 5;

                            audioPub.microphone.setUseEchoSuppression(true);

                            and did not see any changes as befor i was hearing my self echo back from other user pc.

                             

                            if you can send me example to jenia@hbrlabs.com thanks..

                            • 11. Re: AEC 10.3 swc
                              shed08

                              I've just done a quick test, two people in a chat-room using webcam/audio publisher and subscriber, and it works like a dream. I can't emphasise enough how this has helped out on my current, long-running, but now maybe-soon-to-finish project. Many thanks.

                              • 12. Re: AEC 10.3 swc
                                g_w_master Community Member

                                can you send small working example or say what changes you do for activate the AEC?

                                • 13. Re: AEC 10.3 swc
                                  aponnusa Adobe Employee

                                  Updated 10.3 LCCS swc - Version 1.4.0

                                   

                                  Thanks for trying

                                  Arun

                                  • 14. Re: AEC 10.3 swc
                                    BARRYC16

                                    Hi,

                                    I tested my app yesterday using this swc and 10.3 beta and confirmed that audio is greatly improved. I do have another question however.

                                     

                                    Up until now I have been using the 10.0 LCCS swc. I never get the "Peer Assisted Networking" panel popping up, but when I switched to this new swc file this panel pops up and I saw that my Shared Model changes do NOT consistently get synched across all clients. I found this same problem before with the 10.1 swc.

                                     

                                    In order for my application to work consistently I am now assuming that I should NOT be using Peer Assisted Networking.

                                     

                                    Can you tell me which option for the room I need to switch off in order to assure that Peer Assisted Networking will NOT be used? Is it the "AllowPrivateMessages" option or the "P2PDataMessaging" option? I unchecked P2PDataMessaging, but I still get that panel showing up.

                                     

                                    Thanks,

                                    Barry

                                    • 15. Re: AEC 10.3 swc
                                      aponnusa Adobe Employee

                                      Hi Barry,

                                       

                                      I have attached a swc with AEC enabled in 10.0 LCCS swc. Let us know if this fixes your issue.

                                       

                                      Thanks

                                      Arun

                                      • 16. Re: AEC 10.3 swc
                                        BARRYC16 Community Member

                                        Hi Arun,

                                        Yeah, that seems to have fixed my problems with Shared Model synchronization. Also, I don't see the Peer Assisted networking panel any longer.

                                         

                                        Does this mean that we should continue to use the 10.0 swc file when the 10.3 swc is released or will these problems be fixed? It seems like I have problems if I used the 10.1 swc or if I used the 10.3 beta swc. These problems go away when I test with the 10.0 swc.

                                         

                                        When 10.3 is released which swc should I use?

                                         

                                        Thanks,

                                        Barry

                                        • 17. Re: AEC 10.3 swc
                                          Raff. Adobe Employee

                                          The difference between the 10.0 SWC and the 10.1 SWC is that the 10.1 SWC adds applicatiom multicast (and the peer assisted panel) so if you don't needed (or it doesn't work ): you should be fine with the 10.0 SWC.

                                           

                                          We'll have to figure out what to do when 10.3 becomes official. Hopefully we'll stop the madness of adding yet another set of SWCs (would you like P2P with your AEC or maybe some garlic fries ?

                                          • 18. Re: AEC 10.3 swc
                                            Nigel Pegg Community Member

                                            Seriously, garlic fries?

                                             

                                              nigel

                                            • 19. Re: AEC 10.3 swc
                                              eyal gaon Community Member

                                              Hi,

                                              Is it possible to get the source code ?

                                              • 20. Re: AEC 10.3 swc
                                                matetnic2 Community Member

                                                Hi,

                                                 

                                                With FP 10.3 now released, do you plan to release a version of LCCS supporting AEC soon ? We can't wait for this enhancement.

                                                 

                                                Thanks!

                                                Matetnic

                                                • 21. Re: AEC 10.3 swc
                                                  jg716 Community Member

                                                  Hi - is there a Flash-compatible version of the LCCS API swc with AEC?

                                                  • 22. Re: AEC 10.3 swc
                                                    tracedwax Community Member

                                                    Hi Nigel & Arun,

                                                     

                                                    Thanks for referring me back to this thread in your post on AEC in http://forums.adobe.com/message/3709913#3709913.  That's great that you have an prerelease AEC version of the swc for each of your releases.

                                                     

                                                    Since I'm using the prerelease swc (and source code) that includes your initial CPU spiking/ratcheting fix, does that also include the code necessary to test AEC?  If not, would it be possible to get the swc and source that includes both the CPU spiking/ratcheting fix and AEC?

                                                     

                                                    Much apprciated,

                                                    -Trace

                                                    • 23. Re: AEC 10.3 swc
                                                      aponnusa Adobe Employee

                                                      Hi Trace,

                                                       

                                                      We build and release the 10.3 swc  along with our regular release. So

                                                      10.3 swc would have all the changes we made since our last release. So

                                                      you can expect the 10.3 swc with the CPU spiking/ratcheting fix in our

                                                      next release which is very soon.

                                                       

                                                      Thanks

                                                      Arun

                                                      • 24. Re: AEC 10.3 swc
                                                        tracedwax Community Member

                                                        Ah great - thanks Arun.

                                                         

                                                        So just to confirm, that 10.3 .swc and source code will include access to AEC as well?

                                                         

                                                        Thanks,

                                                        -Trace

                                                        • 25. Re: AEC 10.3 swc
                                                          aponnusa Adobe Employee

                                                          Hi Trace,

                                                           

                                                          We werent providing src for 10.3, but we could provide one along with the next release.

                                                           

                                                          Thanks

                                                          Arun

                                                          • 26. Re: AEC 10.3 swc
                                                            tracedwax Community Member

                                                            Thanks Arun, having access to the source to 10.3 will be very helpful for debugging.

                                                             

                                                            Will that have AEC, or if not, could another AEC patch (with the understanding that our mileage may vary) be made available?

                                                             

                                                            -Trace

                                                            • 27. Re: AEC 10.3 swc
                                                              aponnusa Adobe Employee

                                                              New LCCS 1.5 swc for FP 10.3 with AEC support. Attached the lccsFlash only version @ http://forums.adobe.com/thread/860488

                                                               

                                                              Thanks

                                                              Arun

                                                               

                                                              PS:Updated again

                                                              • 28. Re: AEC 10.3 swc
                                                                VidComik

                                                                Hi,

                                                                we have next release of FP, when You will release official version of playerglobal.swc with AEC?

                                                                 

                                                                Regards

                                                                • 29. Re: AEC 10.3 swc
                                                                  tracedwax Community Member

                                                                  Just to confirm, based on items from other threads, you do echo cancellation for us and we don't need to set

                                                                   

                                                                    view.audioPublisher.useEchoSuppression = true;

                                                                   

                                                                  or

                                                                   

                                                                    view.audioPublisher.codec = SoundCodec.SPEEX;

                                                                   

                                                                  right?

                                                                   

                                                                  Thanks,

                                                                  -Trace

                                                                  • 30. Re: AEC 10.3 swc
                                                                    aponnusa Adobe Employee

                                                                    Hi Trace,

                                                                     

                                                                    useEchoSuppression by default is set to false, and codec is set to SPEEX by default. But AudioPublisher.useEchoSuppression is a wrapper to the "Reduce Echo" field in the Flash Player Microphone settings  panel, and "useEchoSuppression" functionality is ignored in enhanced mic (with AEC support)

                                                                     

                                                                    For more info - http://www.macromediastudio.biz/devnet/flashplayer/articles/acoustic-echo-cancellation.htm l

                                                                     

                                                                    Thanks

                                                                    Arun

                                                                    • 31. Re: AEC 10.3 swc
                                                                      tracedwax Community Member

                                                                      So just to double-check, you're saying that there's nothing we need to do from our side to enable AEC if we're using the 10.3 SWC then?

                                                                       

                                                                      We're asking because we've been hearing a fair bit of echo recently even when running under 10.3 with AEC, but the users in question were speaking loudly and there were other computers nearby connected to the same room.

                                                                       

                                                                      Thanks,

                                                                      -Trace

                                                                      • 32. Re: AEC 10.3 swc
                                                                        aponnusa Adobe Employee

                                                                        Yes Trace, You don’t have to do anything to enable AEC.

                                                                         

                                                                        Let us know if you hear echo under a different setting.

                                                                         

                                                                        Thanks

                                                                        Arun

                                                                        • 33. Re: AEC 10.3 swc
                                                                          BARRYC16 Community Member

                                                                          I have no echo now with the new swc. Audio is getting close to perfect. I still make those two calls in the API, but not sure if it's necessary or not.

                                                                           

                                                                          Thanks.

                                                                          • 34. Re: AEC 10.3 swc
                                                                            phaseblue Community Member

                                                                            I have been out of the "LCCS" game for a few months working on php for a project, so I apologize for my ignorance here, but am I correct in thinking the AEC 10.3 swc has not been officially released yet?

                                                                             

                                                                            I just reinstalled the LCCS SDK Navigator, as well as downloading the latest SDK, and the library is still at version 10.1!  Am I missing something or is 10.3 still in beta?

                                                                             

                                                                            Thanks,

                                                                             

                                                                            Matt

                                                                            • 35. Re: AEC 10.3 swc
                                                                              Nigel Pegg Community Member

                                                                              Hi Matt,

                                                                               

                                                                              Yeah, it's not quite released yet. Very, very soon though. The swc in the

                                                                              forums here works pretty well though.

                                                                               

                                                                                nigel

                                                                              • 36. Re: AEC 10.3 swc
                                                                                phaseblue Community Member

                                                                                Thanks Nigel!

                                                                                 

                                                                                I`ll give the unreleased version a shot!

                                                                                • 37. Re: AEC 10.3 swc
                                                                                  phaseblue Community Member

                                                                                  Hello,

                                                                                   

                                                                                  Sorry to sound like such a NOOB, but I tried installing the LCCS 10.3 build and I can't even get that far!  I did install the Flex 4.5.0 SDK without trouble, however, now I am getting errors and my LCCS app. will no longer compile!

                                                                                   

                                                                                  a) you need to have additional compiler option as -target-player=12

                                                                                  Did this, but still errors!

                                                                                  b) You need to have the 10.3 playerglobal.swc in your Flex SD

                                                                                  I found "playerglobal.swc" in C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.5.0\frameworks\libs\player\10.2\ and replaced the one that was already there with the new one from the current LCCS 10.3 build, but I keep getting the following error:

                                                                                  unable to open 'C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.5.0\frameworks\libs\player\10.2\playerglobal.swc'

                                                                                  I have absolutely no idea what I'm doing with this!

                                                                                  c) You need to have flash player 10.3 installed on your machine.

                                                                                  Did this without a problem!

                                                                                   

                                                                                  As far as installing the actual LCCS 10.3 build, I am utterly clueless!  How does one go about doing this without screwing up the currently working LCCS builds?  Do I just copy/paste it alongside the LCCS 10.0 and 10.1 folders in 'C:\Program Files\Adobe\Adobe Flash Builder 4\plugins\com.adobe.lccs\libs\'?

                                                                                   

                                                                                  I went to http://jfvisuals.blogspot.com/2011/06/acoustic-echo-cancelation-working.html page where he explains what to do, and although it was informative, he doesn't explain how to do it!

                                                                                   

                                                                                  I'm literally pulling my hair out here!  Please help

                                                                                   

                                                                                  Matt

                                                                                  • 38. Re: AEC 10.3 swc
                                                                                    BARRYC16 Community Member

                                                                                    Hi Matt,

                                                                                    Can you post the errors you are seeing?

                                                                                     

                                                                                    I am using the 10.3 swc and have got it working by following the steps posted by Basu at the beginning of this thread. Is it possible that you are compiling with the older playerglobal.swc?

                                                                                     

                                                                                    Barry

                                                                                    • 39. Re: AEC 10.3 swc
                                                                                      aponnusa Adobe Employee

                                                                                      Hi Matt,

                                                                                       

                                                                                      Follow these steps, and let us know if your app still fails. These steps

                                                                                      are specific to 4.5 flex SDK

                                                                                       

                                                                                      1) Create directories 'C:\Program Files\Adobe\Adobe Flash Builder

                                                                                      4\sdks\4.5.0\frameworks\libs\player\10.3' & 'C:\Program Files\Adobe\Adobe

                                                                                      Flash Builder 4\sdks\4.5.0\frameworks\libs\player\12.0'

                                                                                      2) Copy 10.3 playerglobal.swc into the directories you just created

                                                                                      3) Add swf-version=12 to your project compiler properties. (Right click on

                                                                                      your project, Properties + Flex Compiler + Additional Compiler arguments)

                                                                                      4) Also set Flash Player Options to Use a specific version and set it

                                                                                      10.3.0 (roperties + Flex Compiler + Adobe Flash Player Options)

                                                                                       

                                                                                      Thanks

                                                                                      Arun

                                                                                      1 2 Previous Next