From 309113721796480c3cd9995d7d768cc6182c9f84 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 27 Jul 2009 15:46:23 +0200 Subject: [PATCH] rtpsession: avoid doing lip-sync in BYE When we get a BYE packet, don't do lip-sync with the SR inside because some senders have trouble constructing valid SR packets after BYE. --- gst/rtpmanager/rtpsession.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 9d73d51..3e17ec1 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -1869,6 +1869,8 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer, break; case GST_RTCP_TYPE_BYE: is_bye = TRUE; + /* don't try to attempt lip-sync anymore for streams with a BYE */ + do_sync = FALSE; rtp_session_process_bye (sess, &packet, &arrival); break; case GST_RTCP_TYPE_APP: -- 2.7.4