diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-07-27 15:46:23 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-11 02:30:47 +0100 |
commit | 309113721796480c3cd9995d7d768cc6182c9f84 (patch) | |
tree | 8b19417b6ed2432af3d1a6935a16abe888be7b7e | |
parent | 3747ede14a6909e11b19ae7363cd583f5ddb59ec (diff) |
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.
-rw-r--r-- | gst/rtpmanager/rtpsession.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 9d73d51d0..3e17ec12c 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: |