rtpstats: Use the same lower limit for RTCP bandwidth to stop sending RTCP everywhere
authorSebastian Dröge <sebastian@centricular.com>
Thu, 23 Apr 2015 16:53:39 +0000 (18:53 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 27 Apr 2015 14:45:33 +0000 (16:45 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=747863

gst/rtpmanager/rtpstats.c

index 4da164c..bb669a9 100644 (file)
@@ -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;