[FFmpeg-devel] [PATCH] Fix client's SSRC in RTCP RR packets

Luca Abeni lucabe72
Wed Jul 21 15:15:49 CEST 2010


Hi all,

the code currently used by rtpdec.c to generate an RTCP RR
packet uses the server's SSRC (stored in RTPDemuxContext:ssrc
by rtp_parse_packet()) as a "SSRC of packet sender" (which
should be the client's SSRC).

As a result, the server sees the RTCP RR packets arriving
with its own SSRC... Some RTSP servers just don't care, some
other servers discard these RTCP RR packets as non valid
(I've been told that Axis servers do this), and do not see
any RR packet from the client... So, they end up closing the
RTP session after a short timeout.

I've seen some reports of this problem, so I am sending a
simple patch, which uses the server SSRC + 1 as a client SSRC.


			Luca
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_ssrc.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100721/2435a8b4/attachment.txt>



More information about the ffmpeg-devel mailing list