rtpdec: Use our own SSRC in the SDES field when sending RRs
authorMartin Storsjö <martin@martin.st>
Sat, 21 Jan 2012 15:20:45 +0000 (17:20 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 21 Jan 2012 20:18:12 +0000 (22:18 +0200)
commitad7beb2cac1563e87171a4d044a6d526527d81d9
treefc21c7acd5a6fdd7f054bde6eb7c4010ea700894
parent4b63cc18bc44517f0f9e04b39ab873cbc3c6aee5
rtpdec: Use our own SSRC in the SDES field when sending RRs

The s->ssrc field is the sender's SSRC, we use ssrc + 1 to get
a collision free "unique" SSRC for ourselves in the RR part.
The SDES block in the RTCP packet should describe ourselves,
not the sender.

This was fixed for the RR part in 952139a3226b, but wasn't
fixed for the SDES part until now.

This could cause some Axis cameras to send RTCP BYE packets
to us due to the SSRC collision.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec.c