From ffe90f81a4d1f9e123c269895bb97446b9d0f3c2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 27 Jul 2009 15:46:23 +0200 Subject: 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 9d73d51d..3e17ec12 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: -- cgit v1.2.1