Using pepper flash (PPAPI) we cannot get audio echo cancellation to work. The below settings are what we use, which do work in Adobe's flash plugin NPAPI.
Changing some of the settings can make the echo worse, for example changing echoPath to 128 is worse - but nothing seems to solve our problem.
publishMic = Microphone.getEnhancedMicrophone(micList.selectedIndex);
publishMic.rate = DEFAULT_MIC_RATE;
var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
options.nonLinearProcessing = true;
options.echoPath = 256;
options.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
publishMic.framesPerPacket = 10;
publishMic.enhancedOptions = options;
publishMic.codec = SoundCodec.PCMA;
publishMic.setUseEchoSuppression(true);
publishMic.setLoopBack(false);
publishMic.encodeQuality = 8;
publishMic.setSilenceLevel(0,2000);
What is the correct process to eliminate echo?