[haXe] Red5/FMS and Haxe platform

Lee McColl Sylvester lee at designrealm.co.uk
Fri Nov 3 15:11:58 CET 2006


A Neko based rtmp server? That sounds really interesting. Does / Can it stream from a live source, like a webcam?

Lee




-----Original message-----
From: Nicolas Cannasse ncannasse at motion-twin.com
Date: Fri, 03 Nov 2006 05:40:25 -0800
To: The haXe compiler list haxe at lists.motion-twin.com
Subject: Re: [haXe] Red5/FMS and Haxe platform

> > Hello,
> > 
> > With the advent of Red5 (btw, congrats to the red5 team!), many people
> > are starting to discover the wonderful world of the rtmp protocol. The
> > ability to push data to the client is awesome. My networking knowledge
> > is somewhat limited, however. HaXe is a unique platform and such as, I
> > was wondering what would be the equivalent of Red5/FMS for haXe? Am I
> > able to use the RTMP on haXe flash apps? What about haXe socket
> > communication when the two sides (client/server) are both built on haXe
> > (flash/neko)? Which is the preferred communication method when it comes
> > to rtmp?
> 
> When your client is Flash and your server is Red5, you can simply use
> Flash API to perform RTMP communications (It would be interesting to
> have a haXe Remoting API wrapper but you don't need it right now).
> 
> Now if you want to replace your haXe/Flash client by a haXe/Neko one,
> you will have to manually connect using a neko.net.Socket and manage the
> RTMP protocol by-hand.
> 
> I started working on a third option, which is to have a RTMP server
> written in haXe/Neko. This server can already stream FLV files to a
> Flash client using RTMP. Its goal is not to replace Red5 since it's not
> supposed to be an application server but a media streaming server only.
> 
> No, if you want to know what is the "natural application server" for
> haXe, I would say that's a haXe Remoting one. You can setup easily an
> haXe HTTP Remoting server (which can't make calls but only answer your
> requests) or go for a haXe Socket Remoting Server, by using
> neko.net.ServerLoop and neko.net.RemotingBuffer classes. It's more
> difficult to setup but it works great.
> 
> We are currently developing several projects using haXe Socket Remoting
> Servers, and when used together with haXe Remoting Proxy, it's very an
> incredible boost in terms of both productivity and quality of the
> resulting code.
> 
> Nicolas
> 
> 
> -- 
> haXe - an open source web programming language
> http://haxe.org



More information about the Haxe mailing list