# HG changeset patch # User lucabe # Date 1282564407 0 # Node ID dda201b8a6f6f6ff3cdbc7c601456d9c8a83c776 # Parent 8775d4c0e9913fee4f4f715b13989cdf096e06da Do not use the server SSRC as client SSRC in the RTP demuxer diff -r 8775d4c0e991 -r dda201b8a6f6 rtpdec.c --- a/rtpdec.c Mon Aug 23 11:52:34 2010 +0000 +++ b/rtpdec.c Mon Aug 23 11:53:27 2010 +0000 @@ -211,8 +211,9 @@ put_byte(pb, (RTP_VERSION << 6) + 1); /* 1 report block */ put_byte(pb, 201); put_be16(pb, 7); /* length in words - 1 */ - put_be32(pb, s->ssrc); // our own SSRC - put_be32(pb, s->ssrc); // XXX: should be the server's here! + // our own SSRC: we use the server's SSRC + 1 to avoid conflicts + put_be32(pb, s->ssrc + 1); + put_be32(pb, s->ssrc); // server SSRC // some placeholders we should really fill... // RFC 1889/p64 extended_max= stats->cycles + stats->max_seq;