[rtmpdump] r403 - trunk/librtmp/handshake.h

hyc subversion at mplayerhq.hu
Thu Mar 25 11:11:41 CET 2010


Author: hyc
Date: Thu Mar 25 11:11:39 2010
New Revision: 403

Log:
Downgrade from FP9 handshake on plain RTMP and non-Adobe server

Modified:
   trunk/librtmp/handshake.h

Modified: trunk/librtmp/handshake.h
==============================================================================
--- trunk/librtmp/handshake.h	Thu Mar 25 08:21:52 2010	(r402)
+++ trunk/librtmp/handshake.h	Thu Mar 25 11:11:39 2010	(r403)
@@ -468,6 +468,9 @@ HandShake(RTMP * r, bool FP9HandShake)
   RTMP_Log(RTMP_LOGDEBUG, "%s: FMS Version   : %d.%d.%d.%d", __FUNCTION__, serversig[4],
       serversig[5], serversig[6], serversig[7]);
 
+  if (FP9HandShake && type == 3 && !serversig[4])
+    FP9HandShake = false;
+
 #ifdef _DEBUG
   RTMP_Log(RTMP_LOGDEBUG, "Server signature:");
   RTMP_LogHex(RTMP_LOGDEBUG, serversig, RTMP_SIG_SIZE);


More information about the rtmpdump mailing list