Overview

In this tutorial, we will walk through the steps to creating your first Red5 Pro Server Application using maven as our build/dependency management tool. In the process you will learn how to create the project structure, configure the applicaiton, handle application lifecycle related events, package/deploy as well as test your new application.

Download the Red5 Pro Server Download the latest Red5 Pro Server!

Register A Red5 Pro Account

If you have not done so already, register for an account at https://account.red5pro.com.

* A Trial Account allows for up to 10 concurrent connections, while the Professional license has no connection limit.


Requirements

The following are required to setup the Red5 Pro Server and to follow along with this tutorial:

The Red5 Pro server requires Java 1.7+ or higher. Install Java 1.7+ or higher if not already installed on your machine.


Video Walk-Through

This documentation has an accompanying video walk through that you can follow as you are developing.

Create a Red5 Pro Application


Register For A Red5 Pro Account

Watch a demonstration of the current section
  1. Navigate to the Red5 Pro accounts page https://account.red5pro.com
  2. Click on the Register link. Either register using your Github account or if you do not have a Github account, you can alternatively fill out the registration form.
  3. Select the Red5 Pro Subscription Plan that you need.
  4. Click Submit

Download The Server Software

Watch a demonstration of the current section
  1. Once you are logged in, click on the Downloads link in the left-hand side menu.
  2. Click and Download the latest Red5 Pro Server software with the link provided. You do not need to remember your license key as this will automatically be embedded in the server software download.
  3. Unzip the downloaded file to a location on your file system. From here on out we will refer to this location using a placeholder syntax $RED5_HOME.

Start Red5 Pro

Watch a demonstration of the current section
  1. Open a command prompt and navigate to $RED5_HOME
  2. Issue the following command sudo ./red5.sh

Verify Server Startup

Watch a demonstration of the current section
  1. Open a browser and navigate to http://localhost:5080/

Conclusion

Congratulations! You have just downloaded, started and verified a Proper Red5 Pro installation!


Troubleshooting

The following sections may aide in troubleshooting any issues may come across in trying the previous examples. Please also refer to our troubleshooting guide.

If you have further questions, please contact us at red5pro@infrared5.com

Required open ports

The following default ports are required to be open in order to allow for Live Streaming and Second Screen:

  • 5080 : default web access of Red5
  • 1935 : default Red5 RTMP port
  • 8554 : default RTSP port
  • 8088 : default Second Screen Client registry
  • 6262 : default Second Screen Host registry