I have a terrible echo on my voice .
What is the problem ?
here is my code :
Code: Select all
mic = Microphone.getMicrophone();
mic.setUseEchoSuppression(true);
mic.setSilenceLevel(40,1000);
I found two codes for red5 and to delete echo
Code: Select all
var volumeVideoTransform:SoundTransform = new SoundTransform();
nsInGoing.play(username);
if (username==myUser.username) {
volumeVideoTransform.volume = 0;
nsInGoing.soundTransform = volumeVideoTransform;
// TRES IMPORTANT : il faut le spécifier à CHAQUE FOIS ! ! !
}
[code]nsInGoing.addEventListener(NetStatusEvent.NET_STATUS,streamStatus);
(...)
public function streamStatus(e:NetStatusEvent):void {
if (e.info.code.toString()==“NetStream.Play.Startâ€