rtpmanager: ignore a BYE if it is sent with our internal SSRC
authorHavard Graff <havard.graff@tandberg.com>
Wed, 23 Jun 2010 09:29:58 +0000 (11:29 +0200)
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>
Mon, 11 Apr 2011 21:34:12 +0000 (17:34 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=646964

gst/rtpmanager/rtpsession.c

index a455ad3..105ef8c 100644 (file)
@@ -1976,6 +1976,9 @@ rtp_session_process_bye (RTPSession * sess, GstRTCPPacket * packet,
     ssrc = gst_rtcp_packet_bye_get_nth_ssrc (packet, i);
     GST_DEBUG ("SSRC: %08x", ssrc);
 
+    if (ssrc == sess->source->ssrc)
+      return;
+
     /* find src and mark bye, no probation when dealing with RTCP */
     source = obtain_source (sess, ssrc, &created, arrival, FALSE);
     if (!source)