- Streaming Audio/Video (FLV and MP3)
- Recording Client Streams (FLV only)
- Shared Objects
- Live Stream Publishing
- Remoting (Action Message Format)
- Download latest RED5 installer from http://code.google.com/p/red5/. (I used the latest stable vesion-1.0.1 Final Ver.)
- Red5 Support for the Jdk 1.6.* or 1.7.*
- Download From http://java.sun.com/javase/downloads/index.jsp
Set Window Environment Variables:
- Set JAVA_HOME environment variable to C:\Program Files (x86)Java\jre6
Installation of RED5:
- Run set-up file (setup-Red5-*.*.*.exe).
- Default directory C:\Program Files (x86)\Red5.
- IP Address Enter = 127.0.0.1
- Port 5080
- [PS] If you downloaded the Zip version of Red5 Installation File, just unzip it to the directory you want(Better put it to the ‘C:\Program Files’)
- Run Red5 Service:
- Get into the directory that you unzipped or installed the Red5
- Double Click ‘red5.bat’ to run the Red5 Service.
Test Red5 Installation:
- Open URL http://localhost:5080/ (or ‘http://127.0.01:5080’)
- RED5 page should appear which means the RED5 server has been installed successfully.
- Click ‘Install a ready-made application’.
- Install the ‘Shared object demo’.
- Return to the Red5 Main page.
- Click ‘Launch a demo’.
- Open two ‘Simple Chat’ example with two new tabs.
- Press the connect icon on both the pages.
- Yellow light turns to green on successful connection.
- Now write something to test the chatting sample.
- Access RED5 external:
Assign correct ip in C:\Program Files (x86)\Red5\conf\red5.properties
- Open firewall for port 1935 for RTMP and 5080 if you want to access the webserver
(control panel – system and security – windows firewall – advanced settings – new inbound rule – port tcp)
- When programming the Red5 Application, use the ‘red5-server-1.0.*.jar’ file from the installed Red5 directory, DO NOT DOWNLOAD IT FROM THE WEBSITE!
- Most setting will be found at the ‘C:\Program Files (x86)\red5\conf\red5.properties’: such as ip, port, protocol stuff setting.
- Red5 Applications will be installed to the ‘C:\Program Files (x86)\red5\webapps’ directory:
- Use java to code the application and create WAR file with ‘J2EE’
- Then put it to the ‘C:\Program Files (x86)\red5\webapps’ directory, restart the Red5, Red5 server will install the application automatically, and run it if that was successful. (PS. If the war file check interval is not that long, you may wanna wait for it rather close it.)
- Change the ‘war.deploy.server.check.interval=600000’ to the less number in ‘# Server properties’ part from the ‘red5.properties’, if user want to deploy the webapps earlier.
[PS. In late version of red5, disable the bandwidth detection will be needed for the useless steps]
[Open the “red5.properties” file, and set the “rtmp.bandwidth_detection=false”]