[Speex-dev] Speex in flash player: how to work with?

Max Lapshin max.lapshin at gmail.com
Wed Mar 17 01:39:18 PDT 2010


Hi everyone. I want to work with Speex audio, that sends Flash player,
but I don't understand how.

These are settings in flash:

_microphone.setSilenceLevel(0);
_microphone.codec = SoundCodec.SPEEX;
_microphone.encodeQuality = 10;
_microphone.rate = 8;
_microphone.framesPerPacket = 1;
_microphone.gain = 70;
_microphone.setUseEchoSuppression(false);


With this settings I get frames exactly 106 bytes. speexdec.c has a
hardcoded constant of 160 shorts.

How must I initialize speex_decoder to work with flash audio stream?
I've seen that someone here in list succeded with it.


More information about the Speex-dev mailing list