[Live-devel] A bug when interpreting RTP extend packet.
张世勇
shiyong.zhang.cn at gmail.com
Fri May 4 08:58:03 PDT 2012
Hi
Here is maybe a bug when interpret RTP extend packet.
Version live.2012.05.03
File: MultiFrameRTPSource.cpp
line 224: void MultiFrameRTPSource::networkReadHandler1() {
line 225: ......
......
line 268: unsigned remExtSize = 4*(extHdr&0xFFFF);
Pls pay attension to *line 268.* Here you calculated RTP packet
extension size with
extHdr length directly,
but it should be network bytes order, need to be transfered to host
byte order firstly.
E.g: unsigned remExtSize = 4 * *ntohs*(extHdr & 0xFFFF);
How do you think ?
Br
Shiyong Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120504/cecefe3b/attachment.html>
More information about the live-devel
mailing list