July 11th, 2008 ~ Trackback
How to build a shared fridge magnets application in red5 by Cary Dunn
Red5 New Application Structure Rundown
Creating a new Red5 application is simple. We just create a new folder in webapps/.
We will create an app called elcMagnets so we create a directory for it and now have webapps/elcMagnets. Red5 expects us to also have a directory inside our new application named WEB-INF/ so we create that as well, and now have webapps/elcMagnets/WEB-INF.
There are 4 default configuration files in doc/templates/myapp/WEB-INF that we will modify and use in our app, so we can copy those over to our elcMagnets directory. (log4j.properties, red5-web.properties, red5-web.xml, web.xml)
You can read up about all the properties and handlers specified in these files here.
For now, we only want to customize these files for our current app. We need to change the webapp.contextPath specified in red5-web.properties to reflect our newly created app. Take note of the virtualHosts parameter and remember to deal with it on deployment to a remote host.
You can download all the files here.






July 11th, 2008 at 1:19 pm
hahah, wow the fridge app is really funny,
so simple but really cool,
I love how you can launch another window and play with yourself!
July 11th, 2008 at 1:46 pm
so much better than all the chat samples
shows real creativity! Hopefully it will inspire!
January 1st, 2009 at 7:58 am
I followed your steps
but when i run using ant its gives
BUILD FAILED
D:\red5\red5_server\red5_server\build.xml:516: Property ‘jar.classpath’ already set!
Can u please help me
January 20th, 2010 at 1:55 am
Excellent example!
Good red5 / as3 examples are really tough to come by!
April 16th, 2010 at 7:31 am
Thank you, I used this tutorial as a reference:
http://creekcodes.blogspot.com/2010/03/as3-and-red5.html