底下是我使用的不一樣的指令
yum install subversion
svn co http://svn1.cvsdude.com/osflash/red5/java/server/trunk
red5
mv red5 /usr/export JAVA_HOME=/usr/java/jdk1.6.0_06
export _JAVA_OPTIONS="-Xmx128m" #修改最大記憶體用量 for vps
ant
./red5.sh &
測試是否成功:開二個http://localhost:5080/demos/BallControl.swf,按「連線」讓「綠燈」亮。托拽二個畫面,有同步即成功
參考來源:http://www.cnblogs.com/phinecos/archive/2007/11/26/973109.html
要改對外開放的ip
conf/red5.properties 修改此文件就行,記得iptables打開所有須要的port,將0.0.0.0的ip改為本機實體ip
有些範例是這樣
rtmp.host_port = 0.0.0.0:1935
http.host = your.server.com
http.port = 5080
rtmpt.host = 0.0.0.0
rtmpt.port = 8088
debug_proxy.host_port = 1936
proxy_forward.host_port = 127.0.0.1:5080
rtmp.threadcount = 4
沒有留言:
張貼留言