Speex 2 frames per packet

I publish speex stream to Wowza from Flash player

When i use microphone.framesPerPacket=1

I get 11 bytes(1 byte header + 10 bytes data) and 53(1+52) bytes in MediaStream addAudioData.

When i use microphone.framesPerPacket=2

I get 21(1+10+10) bytes and 104(1+103) bytes in MediaStream addAudioData.

Seems, 104 is wrong value because 104 is not equals 1+52+52

I tried to split 104 as 1+52+51 and send it to decoder, it works, but i get “robotic” voice

Any advice?

Hi

I would take a look at the WowzaMediaServer_ServerSideAPI document Page 982 of 1115

which is in the wowza documentation folder.

It would appear after a little bit of research that quality effects the packet size and a flash client send a fixed packet size based on quality.

All wowza does is send them on and doesn’t change them.

How come you wish to split the packets in the first place?

Why not just sent on as originally received…?

Jason