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

James Salsman jsalsman at gmail.com
Tue Mar 30 21:45:41 PDT 2010


> Date: Tue, 30 Mar 2010 19:52:42 +0400
> From: Max Lapshin <max.lapshin at gmail.com>
> Subject: Re: [Speex-dev] Speex in flash player: how to work with?
>
> _microphone = Microphone.getMicrophone();
> _microphone.setSilenceLevel(0);
> _microphone.codec = SoundCodec.SPEEX;
> _microphone.encodeQuality = 10;
> _microphone.rate = 16;
> _microphone.framesPerPacket = 1;
> _microphone.gain = 80;
> _microphone.setUseEchoSuppression(false);
>
> and this code:
>
> _microphone = Microphone.getMicrophone();
> _microphone.codec = SoundCodec.SPEEX;
> _microphone.gain = 80;
>
>
> generate frames, which are 10 or 52 bytes long. I try to parse them on C:
>...
> Maybe I'm doing something wrong?

After you take them out of the RTMP encapsulation, you may also need
to take them out of the .flv format to get to the speex data.

Regards,
James Salsman


More information about the Speex-dev mailing list