RED5 server support powerful streaming Video/Audio content and multi-user solution. Red5 server based on JAVA and Ant support for compiling RED5 server code. The RTMP protocol support for Live Streaming.
First off, download the packages using wget command.
# wget http://www.red5.org/downloads/red5/1_0_1/red5-1.0.1.tar.gz
Extract and install:
# tar -zxf red5-1.0.1.tar.gz
# mv red5-server-1.0 /usr/local/red5
# mv red5-server-1.0 /usr/local/red5
Install JAVA:
Download Java packages and give execute permission,
# wget -O java.rpm.bin http://javadl.sun.com/webapps/download/AutoDL?BundleId=38657
# chmod +x java.rpm.bin
# ./java.rpm.bin
Please enter "yes" or "no".
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u19-linux-amd64.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
Done.
# chmod +x java.rpm.bin
# ./java.rpm.bin
Please enter "yes" or "no".
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u19-linux-amd64.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
Done.
Do you require to know Java installed path :
# whereis java
java: /usr/bin/java /usr/share/java
# java -version
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)
java: /usr/bin/java /usr/share/java
# java -version
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) 64-Bit Server VM (build 16.2-b04, mixed mode)
Create new live streaming user:
# cd /usr/local/red5/webapps/
# cp -rf live demoview
# vi demoview/WEB-INF/red5.web.properties
# cp -rf live demoview
# vi demoview/WEB-INF/red5.web.properties
Add below coding:
webapp.contextPath=/demoview
webapp.virtualHosts=*, localhost, localhost:8088, 127.0.0.1:8088
allowedDomains=
withLogging=false
logFilename=demoview
recordPath=videowhisperStreams/
playbackPath=videowhisperStreams/
absolutePath=false
recordEverything=false
acceptPlayers=true
rtmp.bandwidth_detection=true
webapp.virtualHosts=*, localhost, localhost:8088, 127.0.0.1:8088
allowedDomains=
withLogging=false
logFilename=demoview
recordPath=videowhisperStreams/
playbackPath=videowhisperStreams/
absolutePath=false
recordEverything=false
acceptPlayers=true
rtmp.bandwidth_detection=true
Once you have finished all the steps run your red5 server,
# ./usr/local/red5/red5-highperf.sh
Setting Hi Performance Options
Setting Hi Performance Options
To check your red5 server status and default port number is 1935.
# netstat -lnp | grep 1935
tcp 0 0 :::1935 :::* LISTEN 15282/java
tcp 0 0 :::1935 :::* LISTEN 15282/java
To configure live stereaming with RTMP Protocol
http://192.168.1.1:1935/demoview
Configure file location is : /usr/local/red5/conf/red5.properties
To shutdown red5 server:
# ./usr/local/red5/red5-shutdown.sh
can you update this for red5 1.0.5 and include installing jave 8, it says it requires it