[rtmpdump] SWFVerification Type 2 request not supported [PATCH]

compn tempn at twmi.rr.com
Sun Dec 25 16:07:29 CET 2011


On Thu, 08 Sep 2011 19:29:52 +0200, Philipp Hagemeister wrote:
>type 2 verification seems to work with the current code, so the patch
>(attached, public domain) is trivial.

this patch makes hulu work again

>[rtmpdump-swfv2.patch  text/x-patch (554B)]
>diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
>index 5311a8a..79fefae 100644
>--- a/librtmp/rtmp.c
>+++ b/librtmp/rtmp.c
>@@ -2854,7 +2854,7 @@ HandleCtrl(RTMP *r, const RTMPPacket *packet)
>   if (nType == 0x1A)
>     {
>       RTMP_Log(RTMP_LOGDEBUG, "%s, SWFVerification ping received: ", __FUNCTION__);
>-      if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x01)
>+      if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x02)


thanks.

probably to be accepted it has to have a warning message like
'warning, swfverification v% not supported, trying anyways'

-compn


More information about the rtmpdump mailing list