From: KSV Date: Mon, 7 Nov 2011 19:38:27 +0000 (-0800) Subject: Fix bytes-received report X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c90c05892cbaebfb1b2095759597d9fb38238c64;p=rtmpdump Fix bytes-received report --- diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c index 4b17a49..a9c1bc1 100644 --- a/librtmp/rtmp.c +++ b/librtmp/rtmp.c @@ -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; }