Red5 is a multiplatform streaming flash media server based in java. It can be used for different purposes including live streaming on your website, live chat similar to Google Hangouts or online presentations. Personally I have seen some online schools based on Moodle using this for their lessons.
The installation is fairly easy and fast. But before we start there are few requirements:
- X86-compatible CPU (Pentium 4, 3.2 GHz or better, Intel Duo Core 2, PentiumD)
- 1 GB Available Memory
- 100MB or 1GB Ethernet card
- 200 MB of available disk space (SATA II)
- Root access to the machine
The steps below will show you how to install Red5 on CentOS 6.x. Make sure to run the commands as root. I mentioned earlier that Red5 is Java based so obviously we will need to have Java on our machine.
Lets install it by running:
sudo yum install java
Next we will obtain the latest version of Red5 server:
cd /opt/ wget https://github.com/Red5/red5-server/releases/download/v1.0.5-RELEASE/red5-server-1.0.5-RELEASE-server.tar.gz tar zxf red5-server-1.0.5-RELEASE-server.tar.gz
For convenience rename the folder to red5:
mv red5-server-1.0.5-RELEASE red5 cd red5
Now start the Red5 server in the background by running:
sh red5.sh &
Now we can install some of the demo applications by going to http://your-ip-address:5080/installer/
The installation is simple – click on application and then click “install” button. Once you have installed the applications you can go to the demos pages at: http://your-ip-address:5080/demos/ to start the app you wish to test:
You can check the OflaDemo at http://your-ip-address :5080/demos/ofla_demo.html. You will notice that the server will try to connect to “localhost”. You will need to change this to your IP address, do not use the port here:
The path to the streaming files for this app is:
Next thing you may find the interesting SimpleBroadcaster. It is available at http://your-ip-address:5080/demos/simpleBroadcaster.html. This tool can be used for broadcasting content from your camera:
The good thing is that Red5 can be integrated with multiple platforms/CMS sites. For example you can use Red5 in one-to-many, or conference mode, with WordPress or Joomla which are among the most frequently used software across the web. Thanks to numerous plugins it’s extremely easy to integrate Red5 with these applications. VideoWhisper and CometChat are some of the frequently used plugins.
In conclusion Red5 is a great choice if you want a free out of the box multipurpose streaming server. As you just saw the installation requires just a few easy steps and the integration with your website can be performed without strong technical knowledge.
If you are using Red5, let us know what are you doing with it!