Welcome to the RED5 build, to build and run the RED5 server you need the following software:
  1. Apache ANT version 1.7.0 or newer (download here)
  2. Java JDK 1.5 or newer (download here). You don't need netbeans unless you need an IDE for Java.
  3. The RED5 distribution (download here)
  4. Ant must be on your system path (test by typing ant -version at a system prompt)
  5. You must have the environment variables for JAVA_HOME and JAVA_VERSION defined, typically:
    		JAVA_HOME=C:\development\j2sdk1.5.0_07
    		JAVA_VERSION=1.5
                    
    You can check this on windows by typing
    set JAVA_HOME
    or on unix by typing
    echo $JAVA_HOME

    FAILURE TO SETUP YOUR ENVIRONMENT VARIABLES WILL PREVENT YOUR FROM BEING ABLE TO BUILD PROPERLY

  6. Now to just build the red5 server and start it running type ant server - This will compile the code and start the red5 server listening on port 1935.
  7. To test the server use either the samples in the "swf" directory or write your own fla to call red5 using rtmp://localhost:1935/oflaDemo as the URI.
  8. To change the default port Red5 listens on edit the conf/red5.properties and change the property rtmp.host_port value to your desired host and port i.e. :
    rtmp.host_port = 0.0.0.0:2935
    and then restart the server by typing
    ant server
  9. Please direct any questions to the red5 mailing list : [email protected]