Hi Richard, I know it has been a while since you posted this, but I encounter the exact same issue you descrive (robotic , bad quality audio from the Mic) when connecting to mod_conference/wideband. I am using the same parameters you posted bellow. Did you actually get it to work OK with all flash clients? In my case it works great with PC's, but on my Mac and Ipad the quality connecting to the wide-band conference is VERY bad. Same machine, using a sip client works great. so its not the mic/network. Any help appreciated. -Bellesoft Richard Alam wrote
OK...figured out what the problem.
Flash Player by default sends 2 frames per packet with 20ms of audio (320 samples) per frame. FS expects only a frame every packet. So setting mic.framesPerPacket = 1; in the flash client worked.
Here's the complete Actionscript setting in case somebody in the future wants to work with Flash.
private function setupMicrophone():void { mic.setUseEchoSuppression(true); mic.setLoopBack(false); mic.setSilenceLevel(0,20000); mic.codec = SoundCodec.SPEEX; mic.gain = 60; mic.framesPerPacket = 1; mic.rate = 16; // use 8 for Nelly
LogUtil.debug("codec=SPEEX,gain=60,encodeQuality=10,framesPerPacket=2,rate=16"); }
Richard
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Conference-and-Speex-Wideband-... Sent from the freeswitch-users mailing list archive at Nabble.com.