[Live-devel] MediaSession.cpp patch suggestion
Ross Finlayson
finlayson at live555.com
Fri Oct 31 05:51:01 PDT 2008
No, the existing code is correct. Incoming "'audio/L16" RTP data is
(by definition) in network (big-endian) byte order. It's up to
whatever downstream object uses this data to decide whether or not it
wants to byte-swap it. (Note that your patch would not work on
big-endian architectures, because they would not need to do any byte
swapping.)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list