Skip navigation
Currently Being Moderated

AEC 10.3 swc

Mar 8, 2011 11:58 AM

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

Attachments:
 
Replies 1 2 Previous Next
  • Currently Being Moderated
    Mar 9, 2011 10:00 AM   in reply to Hironmay

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 9, 2011 12:41 PM   in reply to Hironmay

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

     

    Thanks,

    Sanju

     
    |
    Mark as:
  • bernard.h
    85 posts
    Nov 14, 2009
    Currently Being Moderated
    Mar 12, 2011 4:53 AM   in reply to Sanjay_Ankoti
    Is it possible that the codec of Nellymoser is not compatible with 10.3?
     
    |
    Mark as:
  • Currently Being Moderated
    Mar 13, 2011 9:41 AM   in reply to bernard.h

    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.

     
    |
    Mark as:
  • bernard.h
    85 posts
    Nov 14, 2009
    Currently Being Moderated
    Mar 14, 2011 7:01 AM   in reply to Raff.

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

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2011 8:00 AM   in reply to bernard.h

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

    encoding.

     

      nigel

     
    |
    Mark as:
  • bernard.h
    85 posts
    Nov 14, 2009
    Currently Being Moderated
    Mar 14, 2011 8:32 AM   in reply to Nigel Pegg

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 14, 2011 8:38 AM   in reply to bernard.h

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Calculating status...
    Mar 17, 2011 7:06 AM   in reply to esteimle

    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..

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 23, 2011 6:54 AM   in reply to Hironmay

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 23, 2011 7:31 AM   in reply to Hironmay

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

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 15, 2011 4:31 PM   in reply to g_w_master

    Updated 10.3 LCCS swc - Version 1.4.0

     

    Thanks for trying

    Arun

    Attachments:
     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2011 10:04 AM   in reply to aponnusa

    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

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

    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

    Attachments:
     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2011 4:51 PM   in reply to aponnusa

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2011 4:58 PM   in reply to BARRYC16

    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 ?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2011 7:49 PM   in reply to Raff.

    Seriously, garlic fries?

     

      nigel

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2011 6:04 AM   in reply to Hironmay

    Hi,

    Is it possible to get the source code ?

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2011 6:20 AM   in reply to Nigel Pegg

    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

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2011 11:52 AM   in reply to Hironmay

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

     
    |
    Mark as:
  • Currently Being Moderated
    May 31, 2011 10:09 AM   in reply to jg716

    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

     
    |
    Mark as:
  • Currently Being Moderated
    May 31, 2011 10:33 AM   in reply to tracedwax

    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

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

    Ah great - thanks Arun.

     

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

     

    Thanks,

    -Trace

     
    |
    Mark as:
  • Currently Being Moderated
    May 31, 2011 12:46 PM   in reply to tracedwax

    Hi Trace,

     

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

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    May 31, 2011 1:55 PM   in reply to aponnusa

    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

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

    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

    Attachments:
     
    |
    Mark as:
  • Currently Being Moderated
    Jun 6, 2011 2:25 AM   in reply to aponnusa

    Hi,

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

     

    Regards

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

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2011 4:50 PM   in reply to tracedwax

    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-e cho-cancellation.html

     

    Thanks

    Arun

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2011 5:16 PM   in reply to aponnusa

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2011 5:23 PM   in reply to tracedwax

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2011 5:32 PM   in reply to aponnusa

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2011 11:02 AM   in reply to Hironmay

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2011 11:57 AM   in reply to phaseblue

    Hi Matt,

     

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

    forums here works pretty well though.

     

      nigel

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2011 7:53 PM   in reply to Nigel Pegg

    Thanks Nigel!

     

    I`ll give the unreleased version a shot!

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2011 8:53 AM   in reply to Hironmay

    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-workin g.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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2011 9:12 AM   in reply to phaseblue

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2011 10:04 AM   in reply to BARRYC16

    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

     
    |
    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