[rtmpdump] branch master updated. c90c058 Fix bytes-received report

gitolite gil at avcodec.org
Mon Nov 7 20:39:17 CET 2011


The branch, master has been updated
       via  c90c05892cbaebfb1b2095759597d9fb38238c64 (commit)
      from  60218d0af0f4bd683ecdebe49986f188820cf8ce (commit)


- Log -----------------------------------------------------------------
commit c90c05892cbaebfb1b2095759597d9fb38238c64
Author:     KSV <faltuvistor at yahoo.co.in>
AuthorDate: Mon Nov 7 11:38:27 2011 -0800
Commit:     Howard Chu <hyc at highlandsun.com>
CommitDate: Mon Nov 7 11:38:27 2011 -0800

    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;
 	}

-----------------------------------------------------------------------

Summary of changes:
 librtmp/rtmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 



More information about the rtmpdump mailing list