projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a421c3
)
rtpsession: when we schedule BYE, only deal with BYE sources
author
George Kiagiadakis
<george.kiagiadakis@collabora.com>
Thu, 12 Dec 2013 09:34:38 +0000
(10:34 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Thu, 12 Dec 2013 09:34:38 +0000
(10:34 +0100)
When we are doing the RTCP timeout to schedule BYE packets, don't
generate RTCP for all sources but only for the sources marked as BYE.
gst/rtpmanager/rtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpsession.c
b/gst/rtpmanager/rtpsession.c
index
929c404
..
23769a9
100644
(file)
--- a/
gst/rtpmanager/rtpsession.c
+++ b/
gst/rtpmanager/rtpsession.c
@@
-3482,6
+3482,10
@@
generate_rtcp (const gchar * key, RTPSource * source, ReportData * data)
if (!source->internal || source->sent_bye)
return;
+ /* ignore other sources when we do the timeout after a scheduled BYE */
+ if (sess->scheduled_bye && !source->marked_bye)
+ return;
+
data->source = source;
/* open packet */