[Freeswitch-users] Codec byte order

Moises Silva moises.silva at gmail.com
Thu Sep 22 23:46:12 MSD 2011


On Tue, Sep 20, 2011 at 5:56 AM, Fabio Bigliardi
<fabio.bigliardi at gmail.com> wrote:
> Hi all,
> I have an audio decoder registered to freeswitch server.
> It worked with a codec L16 at 24000h little endian.
> After software update to FreeSWITCH Version 1.0.head (git-25c725c 2011-06-30
> 18-30-24 -0500), the audio decoder ceased to work with this codec. It
> produces just noise.
> With the big endian version of the codec, it works again.
> The hardware on which freeswitch is running, is the same.
> How could you explain this behaviour?

This explains it:

commit e657e32fcac6f29fabfea8e38ce7a7dcf5beb8af
Author: Anthony Minessale <anthm at freeswitch.org>
Date:   Mon Mar 21 14:31:10 2011 -0500

You can use rtp_disable_byteswap variable to disable the byte
swapping. In the RTP stream, the byte order is supposed to be big
endian.

Moises Silva
Senior Software Engineer, Software Development Manager
Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
L3R 9R6 Canada
t. 1 905 474 1990 x128 | e. moy at sangoma.com



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list