Create a shared live stream package in linux server
by Manoj[ Edit ] 2013-07-16 18:55:34
Follow the below steps to host the shared live stream package in linux server.
Steps:
1.login into the server through the terminal.
2.cd /usr/local/red5/webapps/
3.ls
4.cp -R source destination
5.cd destination/WEB-INF/
6.vim red5-web.properties
(change the new domain name in RED colour marked area)
webapp.contextPath=/
destination
webapp.virtualHosts=*, localhost, localhost:8088, 127.0.0.1:8088
allowedDomains=
withLogging=false
logFilename=
destination
recordPath=videowhisperStreams/
playbackPath=videowhisperStreams/
absolutePath=false
recordEverything=false
acceptPlayers=true
rtmp.bandwidth_detection=true
rtmp.default_server_bandwidth=10000000
rtmp.default_client_bandwidth=10000000
rtmp.client_bandwidth_limit_type=2
save the file.
6.cd /usr/local/red5/
7.pkill -9 java
8.sh red5-highperf.sh
9.check whether java is running or not
ps -aux | grep java