I have seen a number of tutorials for using Red5 and Eclipse, and most of them tend to be unclear or do not work properly. So here are 2 very simple ways I have used with great success!
*Before you begin this tutorial make sure you have downloaded/installed the latest JDK, Red5, and Eclipse 3 or higher.Â
Using SVN
- In Eclipse Select Window->Open Perspective->Other
- Then I pick SVN Repository Exploring
- Next I right click in the SVN Repository pane and select New -> repository Location
- Type “http://svn1.cvsdude.com/osflash/red5/java/server/trunk”; in the URL field
- Click finish
- Right click on it when it shows up in the SVN Repository pane and select Checkout
- Then I select check out as project with all of the defaults.
Simple Import
- In Eclipse Select File>Import
- Under General choose Existing Project into workspace
- Browse to your downloaded red5 folder
- Select Project

Thats all there is to it! Please feel free to reply to this post with other ways of setting up Red5 and Eclipse.

What the tutorial covers:
1. Checks out source code
2 .Sets up ant configuration to run server
3. Runs the ofla_demo
4. Works around the code migration that were having
View Tutorial
Tutorial by Dominick Accattato - http://www.newviewnetworks.com
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.