我正在制作一个直播视频流媒体项目,并努力应对来自麦克风的EXTRA NOISE。 我正在使用speex Codec,这里是我使用的设置。
microphone = Microphone.getEnhancedMicrophone();
microphone.codec ="speex";
microphone.enableVAD = true;
microphone.setLoopBack(false);
microphone.setUseEchoSuppression(true);
microphone.setSilenceLevel(0);
microphone.rate=44;
microphone.gain=1;
microphone.encodeQuality = 6;
microphone.
var micOption:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
micOption.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
micOption.echoPath = 256;
micOption.autoGain = true;
micOption.nonLinearProcessing = true;
microphone.enhancedOptions = micOption;
我应该在哪里进行更改?为什么?