-
Notifications
You must be signed in to change notification settings - Fork 18
Creating a red5 application
So as i mentioned before, there are different ways to create a red5 application using eclipse and the downloaded red5 distribution. In this lesson, we shall cover all three ways, as each has its own advantage & complexity. You may then select something that suits your development style and understanding out of the three ways.
The first thing to understand is that a Red5 application is very much like a tomcat JEE application. So if you have experience with that you are already a step ahead. Even if you are not this lesson will still help you create a red5 application from ground-up.
At the time of writing this, Red5 pro distributions come packaged with a application template to help you get started with red5 development. You can find the template at {RED5HOME/webapps/template
. You can make a copy to this to get started with your own application. For the open source version , you can simple make a copy of the live
application and work on that.(We will be seeing in details in a moment).
Using the red5-plugin for eclipse. (Lazy Beginners)
An old but simplistic way to create a Red5 application with some hiccups. The red5 plugin comes with an application generation mechanism which prepares a red5 application structure for you to code into. This is not a recommended approach by many affluent red5 developers, but i find it very convenient and fast to get my application rolling with this as well.
Using maven (Serious Developers)
Using maven and a maven application template (pom.xml based), might certainly not be for non java developers, but its not intended to be either. Maven based application development is for advance developers who have a good strong grasp of java and some bit of maven. Using maven makes it easier for you to add third party jars to your project, target specific red5 versions and do a whole lot more. Even the Red5 server project itself is a maven based project. so know maven will help you make changes to the server files as well (if you choose to tread that way).