Kevin Vance - I think I have to take back my previous tirade about how easy it…

Entries | Archive | Friends | Friends' Friends | User Info

03:49 am

Tuesday, September 19th, 2006
Previous Entry Share Next Entry
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)
(None, 241.50800000000001)
> createStream(None)
(None, 2.0)
> play(None, stream_path, 0, 0)
...*crickets chirp*...

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.
Link )Reply )

[User Picture]From: duinlas
2006-09-19 02:41 pm (UTC)
Yeah, I pre-ordered it Sunday. :D For 10 bucks? Can't go wrong. But this annoys me. Defcon is going to be in the running for NEXT YEAR'S Indie Game stuff. Competition for us. ;)
(Reply) (Thread)