rtpsession: reset state after scheduling BYE
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 12 Dec 2013 09:32:48 +0000 (10:32 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 12 Dec 2013 09:32:48 +0000 (10:32 +0100)
After we do RTCP, we are not scheduling bye anymore.

gst/rtpmanager/rtpsession.c

index 1074866..929c404 100644 (file)
@@ -3614,6 +3614,7 @@ rtp_session_on_timeout (RTPSession * sess, GstClockTime current_time,
     sess->last_rtcp_send_time = data.current_time;
   sess->first_rtcp = FALSE;
   sess->next_early_rtcp_time = GST_CLOCK_TIME_NONE;
+  sess->scheduled_bye = FALSE;
 
 done:
   RTP_SESSION_UNLOCK (sess);