rtpsession: Handle first RTCP packet and early feedback correctly
authorSebastian Dröge <sebastian@centricular.com>
Wed, 11 Feb 2015 09:29:55 +0000 (10:29 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 11 Feb 2015 09:32:46 +0000 (10:32 +0100)
commitb79eff7f9bfcf1b3b0360d346cc3b3483da1361e
treed68f4d3ffcbb5a5a5df96595ed47c8ad5df4caff
parent009a62fddb9650b05af0248dc4943d8047611d62
rtpsession: Handle first RTCP packet and early feedback correctly

According to RFC 4585 section 3.5.3 step 1 we are not allowed to send
an early RTCP packet for the very first one. It must be a regular one.

Also make sure to not use last_rtcp_send_time in any calculations until
we actually sent an RTCP packet already. In specific this means that we
must not use it for forward reconsideration of the current RTCP send time.
Instead we don't do any forward reconsideration for the first RTCP packet.
gst/rtpmanager/rtpsession.c