[Red5] Serving both static content and RTMPT off of red5 standalone server?

Curt Bererton curt.bererton at gmail.com
Sun Apr 6 16:49:57 PDT 2008


I've been trying to find the easiest way to serve both static content
and RTMPT using the red5 standalone server. Hopefully, someone out
there can check the following plan out and tell me if it's reasonable.

I was wondering if it was possible to set up red5 so that
http://www.mydomain.com/ would serve static content using port 80 and
then (on the same server) have http://apps.mydomain.com handle
connections from flash clients on port 80 (RTMPT), 443 (RTMPS), and
1935 (RTMP).   Being more familiar with Apache, I could see how one
might do this with apache, but I'm not as familiar with jetty and
red5's configuration in specific. Ideally it wouldn't be necessary to
run both apache and red5 on the same machine, and I could just set up
red5/jetty to do the virtual hosting above.

Right now it looks like red5 uses different ports for the http
server(5080), https server(8443)  and  rtmp protocols being on 1935,
and 8088(rtmpt) respectively.

Does anyone know how I might go about setting up a virtual host scheme
above with the red5 config so that the virtual host does the work of
forwarding the packets to the right place? Or is this a bad idea for
some reason?

~Curt



More information about the Red5 mailing list