From: Sebastian Dröge Date: Thu, 23 Apr 2015 16:53:39 +0000 (+0200) Subject: rtpstats: Use the same lower limit for RTCP bandwidth to stop sending RTCP everywhere X-Git-Tag: 1.6.0~393 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=475b1e607e75f3ac18af4917b2e60b297f5e03ad;p=platform%2Fupstream%2Fgst-plugins-good.git rtpstats: Use the same lower limit for RTCP bandwidth to stop sending RTCP everywhere https://bugzilla.gnome.org/show_bug.cgi?id=747863 --- diff --git a/gst/rtpmanager/rtpstats.c b/gst/rtpmanager/rtpstats.c index 4da164c..bb669a9 100644 --- a/gst/rtpmanager/rtpstats.c +++ b/gst/rtpmanager/rtpstats.c @@ -166,7 +166,7 @@ rtp_stats_calculate_rtcp_interval (RTPSessionStats * stats, gboolean we_send, /* no bandwidth for RTCP, return NONE to signal that we don't want to send * RTCP packets */ - if (rtcp_bw <= 0.00001) + if (rtcp_bw <= 0.0001) return GST_CLOCK_TIME_NONE; avg_rtcp_size = stats->avg_rtcp_packet_size;