[MPlayer-dev-eng] playing little endian format uncompressed PCM audio stream via RTSP
Ross Finlayson
finlayson at live555.com
Fri Mar 21 14:18:06 CET 2008
>When you stream audio over live555's component on mplayer, what decides the
>audio data to be big endian vs little endian? I am specifying the format as
>97 (dynamic format) with rtpmap being : 96 L16/8000 for single channel, 16
>bit/sample, 8 khz sample rate audio. But mplayer somehow thinks audio data
>is in big endian format and attaches a BE -> LE conversion filter:
>
>after getting "describe":
>
>Initiated "audio/L16" RTP subsession on port 4770
As I noted in an earlier message (and separately on the "live-devel"
mailing list), the "audio/L16" RTP payload type requires that the
audio data be sent in big endian order (aka "network byte order").
See section 4.5.11 of RFC 3551.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the MPlayer-dev-eng
mailing list