I think I have to take back my previous tirade
about how easy it should be to write an RTMP stream ripper. While I can both read and write RTMP, there is still some magic that I'm missing when it comes to talking to a real server.> connect(flashInfo, False)
(None, <AMFObject NetConnection.Connect.Success>)
> getStreamLength(None, stream_path)
> play(None, stream_path, 0, 0)
I think maybe I have to pass the bandwidth test that it sends if I set the second connect() parameter to True? I have no idea what createStream()'s return value is for. It seems to be ignored in my analysis of the flash client's traffic.
P.S. If you want Introversion's new game, Defcon
, for cheap, you can preorder it on Steam for $9.95. I haven't played it, and I don't know anything about it except that it's the game of Global Thermonuclear War, but I already know I'm going to get my ten bucks worth.