I was trying to get the JavaEncoder/JavaDecoder for speex to work with FMJ as a custom RTP payload.
I noticed, looking at the code, that JavaEncoder requires an input of 16 bits per sample, and it will then output 16 bits per sample.
JavaDecoder, on the other hand, requires an input of 8 bits per sample, and it then outputs 8 bits per sample.
This means, in short, that the decoder is incompatible with the encoder.
Are these two classes actually known to work together?
Any help appreciated,