hi,<br><br>i'm using jspeex to encode signed little endian pcm 16bits data to speex, so i can then publish it to a flash client.<br><br>On rtmp spec is said that is used network byte order, so in a speex frame consisted in more than 1 byte, i guess i have to send it in big endian order.<br>
<br>By the source code of jspeex i see that when i pass pcm data as a parameter to SpeexEncoder.processData they use it as little endian and convert it to a float[] and only then the data is encoded to a byte[] of speex samples.<br>
<br>I'm only getting noise on the flash client side, and i though it could be an endianess problem, doesn anyone have any suggetion?<br><br>I'm recording the pcm16bit data to a raw file and when i play it, i have lots of noise. <br>
I also record the speex data to a raw file but i can't find a way to play it, any hint?<br><br>Thank you<br>