View Single Post
  #1  
Old 09-20-2011, 06:15 PM
bugmenotfree bugmenotfree is offline
Junior Member
 
Join Date: Jul 2011
Posts: 6
bugmenotfree is on a distinguished road
Default

Applying "SWFVerification Type 2 request not supported" patch to latest Git version


Hello to everyone on the forum.
I applied the patch attached
http://lists.mplayerhq.hu/pipermail/...attachment.bin
in this message in the rtmpdump mailing list
http://lists.mplayerhq.hu/pipermail/...er/001578.html
on the latest Git version and compiled rtmpdump in Windows for downloading the Daily Show stream on the Comedy Central website.

It does not work while my compiled version of the latest Git does but the download stops at about 15-20% of the file. Resuming works so I can download the whole file if I run rtmpdump 6-7 times but the file is sometimes corrupted (small skips presumably at the points rtmpdump resumes the download).

After comparing all the latest (2011-08-12) Git source with and without the patch applied the only difference was a line in "rtmp.c"
Code:
if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x01)
that was changed to
Code:
if (packet->m_nBodySize > 2 && packet->m_body[2] > 0x02)
Is the above correct, does the patch only change one number in the RTMPdump source?

Last edited by bugmenotfree : 09-21-2011 at 05:35 PM.
Reply With Quote