[rtmpdump] r62 - rtmp.cpp

hyc subversion at mplayerhq.hu
Wed Dec 16 07:24:21 CET 2009


Author: hyc
Date: Wed Dec 16 07:24:20 2009
New Revision: 62

Log:
rtmplite crashes without objectEncoding

Modified:
   rtmp.cpp

Modified: rtmp.cpp
==============================================================================
--- rtmp.cpp	Wed Dec 16 06:31:17 2009	(r61)
+++ rtmp.cpp	Wed Dec 16 07:24:20 2009	(r62)
@@ -754,7 +754,7 @@ bool CRTMP::SendConnectPacket()
   if(Link.pageUrl)
   	enc += EncodeString(enc, "pageUrl", Link.pageUrl);
 
-  //enc += EncodeNumber(enc, "objectEncoding", 3.0); // use AMF3 objects, not supported yet
+  enc += EncodeNumber(enc, "objectEncoding", 0.0); // AMF0, AMF3 not supported yet
   enc += 2; // end of object - 0x00 0x00 0x09
   *enc = 0x09;
   enc++;


More information about the rtmpdump mailing list