[rtmpdump] r15 - rtmp.cpp

hyc subversion at mplayerhq.hu
Sat Oct 31 01:54:28 CET 2009


Author: hyc
Date: Sat Oct 31 01:54:28 2009
New Revision: 15

Log:
Sanity check - use the actual stream ID for buffertime updates

Modified:
   rtmp.cpp

Modified: rtmp.cpp
==============================================================================
--- rtmp.cpp	Sat Oct 31 01:04:35 2009	(r14)
+++ rtmp.cpp	Sat Oct 31 01:54:28 2009	(r15)
@@ -121,7 +121,7 @@ void CRTMP::SetBufferMS(int size)
 
 void CRTMP::UpdateBufferMS()
 {
-  SendPing(3, 1, m_nBufferMS);
+  SendPing(3, m_stream_id, m_nBufferMS);
 }
 
 void CRTMP::SetupStream(
@@ -990,7 +990,7 @@ int CRTMP::HandleInvoke(const char *body
 	SendSeek(Link.seekTime);
       }*/
 	
-      SendPing(3, 1, m_nBufferMS);
+      SendPing(3, m_stream_id, m_nBufferMS);
     }
     else if (CSCMP(methodInvoked,"play"))
     {


More information about the rtmpdump mailing list