[FFmpeg-devel] [PATCH] Fix client's SSRC in RTCP RR packets
Martin Storsjö
martin
Wed Jul 21 15:29:14 CEST 2010
On Wed, 21 Jul 2010, Luca Abeni wrote:
> 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.
Sounds sensible to me.
// Martin
More information about the ffmpeg-devel
mailing list