[rtmpdump] r524 - trunk/librtmp/rtmp.c

hyc subversion at mplayerhq.hu
Tue Jun 29 23:05:05 CEST 2010


Author: hyc
Date: Tue Jun 29 23:05:04 2010
New Revision: 524

Log:
Only send CheckBW request once

Modified:
   trunk/librtmp/rtmp.c

Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c	Tue Jun 29 09:40:13 2010	(r523)
+++ trunk/librtmp/rtmp.c	Tue Jun 29 23:05:04 2010	(r524)
@@ -2377,7 +2377,8 @@ HandleInvoke(RTMP *r, const char *body, 
     }
   else if (AVMATCH(&method, &av_onBWDone))
     {
-      SendCheckBW(r);
+	  if (!r->m_nBWCheckCounter)
+        SendCheckBW(r);
     }
   else if (AVMATCH(&method, &av_onFCSubscribe))
     {


More information about the rtmpdump mailing list