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:
7f0b100
)
Send BYE packets immediatly for small sessions
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 23 Jan 2009 11:13:00 +0000
(12:13 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:40 +0000
(
02:30
+0100)
When the number of participants is less than 50, the RFC allows for sending the
BYE packet immediatly instead of using the regular BYE timeout.
Fixes #567828.
gst/rtpmanager/rtpstats.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpstats.c
b/gst/rtpmanager/rtpstats.c
index
517018d
..
640c319
100644
(file)
--- a/
gst/rtpmanager/rtpstats.c
+++ b/
gst/rtpmanager/rtpstats.c
@@
-145,6
+145,10
@@
rtp_stats_calculate_bye_interval (RTPSessionStats * stats)
gdouble interval;
gdouble rtcp_min_time;
+ /* no interval when we have less than 50 members */
+ if (stats->active_sources < 50)
+ return 0;
+
rtcp_min_time = (stats->min_interval) / 2.0;
/* Dedicate a fraction of the RTCP bandwidth to senders unless