Implementing RTMP in Ruby

I’ve spent my time at Mashed this weekend working on an implementation of Adobe’s proprietary RTMP protocol. This is used by many Flash streaming implementations; being able to replicate it means that we can begin to use streaming content in our own ways. That will open up a huge amount of online media.

So far, I’ve implemented the basic connection handshaking and transmission of packets. That should cover all the low-level stuff, and it’s a good start. In fact, I think it’s the hard part. The remaining work involves a bit of packet sniffing, but I can’t get Wireshark to work on my Eee PC, so it’ll have to wait.

I’m not going to have anything to demonstrate this afternoon, but I do have a lot of code to show: it’s all checked into my repository:

svn co http://paulbattley.googlecode.com/svn/net-rtmp

Comments

Skip to the comment form

  1. mike

    Wrote at 2008-06-22 14:27 UTC using Firefox 3.0 on Windows XP:

    Great to see someone is going after the best way to get iplayer content. Once this is unlocked hundreds of sites will be open. Do you know about the newest version of flash? does it have even more “problems” that this?
    MW
  2. Kzap333

    Wrote at 2008-06-22 14:59 UTC using Firefox 3.0 on Linux:

    You have an eeePC ROCK ON!
    I’m getting one soon!
    (my parents promised they would get me one for sixth form) I’ll probably stick eeeXubuntu on it.
  3. Point 4

    Wrote at 2008-06-24 15:30 UTC using Firefox 3.0 on Windows XP:

    I second what mike says, this really would be the best way to capture iPlayer programs. So good luck with your effort

Leave a comment

Please read the comment guidelines before posting. Comments are Gravatar-enabled. Your email address will not be published.

To prove that you’re human, type human in the Bot check field.

Trying to post some program output or a long code sample? Please use a paste service and link to it instead.