]> granicus.if.org Git - rtmpdump/commitdiff
Drop back on the handshake version, avoid rtmpe 9
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Sat, 19 Mar 2011 23:32:53 +0000 (23:32 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Sat, 19 Mar 2011 23:32:53 +0000 (23:32 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@562 400ebc74-4327-4243-bc38-086b20814532

librtmp/handshake.h

index 958579a812ebfecba8bd482ff5c317995ff576aa..d4d291354778cd3e4a3944f69024a3661cb15a84 100644 (file)
@@ -400,8 +400,10 @@ HandShake(RTMP * r, int FP9HandShake)
       /* set version to at least 9.0.115.0 */
       if (encrypted)
        {
-         clientsig[4] = 128;
-         clientsig[6] = 3;
+/*       clientsig[4] = 128;
+         clientsig[6] = 3; */
+         clientsig[4] = 0x7c;
+         clientsig[6] = 0x2;
        }
       else
         {