[Free] RTMP specifications available if you want it.
Yannick Connan
yannick at dazzlebox.com
Sun Sep 18 05:51:50 PDT 2005
Hello guys,
I recently noticed that some of you are looking at building a Free RTMP
server. This is really good news. I myself did some studying on this
protocol and managed to go as far as having an extended protocol
specification and a working implementation written in Ruby.
Unfortunately, being seriously busy these days, I do not have time to
complete this project (I never did a formal release). So, here you are,
willing to make it real, and I think that my duty should be to help you
I much as I can.
I attached a file called "rtmp_implementation.zip". I don't know the
policy concerning attached files on this mailing list. But if it doesn't
work, give some time to put it on a FTP server.
Unfortunately it's uncommented... but it is written in ruby, a fairly
clean and concise language.
To test it, Just go to the rtmp_implementation folder and type "ruby
launcher.rb" (you'll need ruby 1.8)
You will find a quick test application located at
"./appli_root/test/main.rb". Then, make an empty flash movie and copy
this code into the first frame:
trace($version);
_root.main_nc = new NetConnection();
_root.main_nc.onStatus = function(info){
trace("onStatus = "+info.code);
}
_root.main_nc.connect("rtmp://localhost:1935/test");
function EntryResult(targetObject){
this.targetObject = targetObject;
this.onResult = function(result){
trace("last entry = " + result);
this.targetObject.processEntry(result + 1);
}
}
_root.main_nc.call("appendText", new EntryResult(this),"Hello
","world"); // Should return "Hello World"
This implementation is surely buggy as hell. So don't hesitate to
contact me for further information.
Yannick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtmp_implementation.zip
Type: application/octet-stream
Size: 24537 bytes
Desc: not available
Url : /pipermail/free_osflash.org/attachments/20050918/c325504e/rtmp_implementation-0001.obj
More information about the Free
mailing list