[rtmpdump] r238 - trunk/rtmpsuck.c
hyc
subversion at mplayerhq.hu
Mon Jan 18 23:42:51 CET 2010
Author: hyc
Date: Mon Jan 18 23:42:50 2010
New Revision: 238
Log:
Log BytesReceived reports from client
Modified:
trunk/rtmpsuck.c
Modified: trunk/rtmpsuck.c
==============================================================================
--- trunk/rtmpsuck.c Sat Jan 16 22:37:01 2010 (r237)
+++ trunk/rtmpsuck.c Mon Jan 18 23:42:50 2010 (r238)
@@ -820,6 +820,16 @@ void doServe(STREAMING_SERVER * server,
server->rc.m_outChunkSize = server->rs.m_inChunkSize;
}
}
+ /* bytes received */
+ else if (ps.m_packetType == 0x03)
+ {
+ if (ps.m_nBodySize >= 4)
+ {
+ int count = AMF_DecodeInt32(ps.m_body);
+ Log(LOGDEBUG, "%s, client: bytes received = %d", __FUNCTION__,
+ count);
+ }
+ }
/* ctrl */
else if (ps.m_packetType == 0x04)
{
More information about the rtmpdump
mailing list