]> granicus.if.org Git - rtmpdump/commitdiff
Fix bytes-received report
authorKSV <faltuvistor@yahoo.co.in>
Mon, 7 Nov 2011 19:38:27 +0000 (11:38 -0800)
committerHoward Chu <hyc@highlandsun.com>
Mon, 7 Nov 2011 19:38:27 +0000 (11:38 -0800)
librtmp/rtmp.c

index 4b17a492614dffa635cf6a23cfacd636649744a4..a9c1bc1a69baec1ce8f423b467f5826a420abf1b 100644 (file)
@@ -1337,7 +1337,7 @@ ReadN(RTMP *r, char *buffer, int n)
          nBytes = nRead;
          r->m_nBytesIn += nRead;
          if (r->m_bSendCounter
-             && r->m_nBytesIn > r->m_nBytesInSent + r->m_nClientBW / 2)
+             && r->m_nBytesIn > ( r->m_nBytesInSent + r->m_nClientBW / 10))
            if (!SendBytesReceived(r))
                return FALSE;
        }