mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
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.
This commit is contained in:
parent
b3b96c3063
commit
ffe90f81a4
1 changed files with 2 additions and 0 deletions
|
@ -1869,6 +1869,8 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer,
|
||||||
break;
|
break;
|
||||||
case GST_RTCP_TYPE_BYE:
|
case GST_RTCP_TYPE_BYE:
|
||||||
is_bye = TRUE;
|
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);
|
rtp_session_process_bye (sess, &packet, &arrival);
|
||||||
break;
|
break;
|
||||||
case GST_RTCP_TYPE_APP:
|
case GST_RTCP_TYPE_APP:
|
||||||
|
|
Loading…
Reference in a new issue