Installation
1. Check for Java version, install java if the version is not supported.
-
Open-JAVA:
apt-get install default-jre apt-get install default-jdk
-
Oracle-JAVA:
apt-get install software-properties-common apt-get install python-software-properties add-apt-repository ppa:webupd8team/java apt-get update
安裝不同JAVA版本
apt-get install oracle-java6-installer apt-get install oracle-java7-installer sudo apt-get install oracle-java8-installer
2. WOWZA主程式
wget http://www.wowza.com/downloads/WowzaStreamingEngine-4-2-0/WowzaStreamingEngine-4.2.0-linux-x64-installer.run
chmod +x
Then intsall Wowza with licence(Optional).
Ports
TCP 1935 RTMP/RTMPE/RTMPT/RTSP-interleaved streaming/WOWZ™
TCP 8084-8085 JMX/JConsole
TCP 8088 WEB
UDP 6970-9999 RTP UDP streaming
Using AWS Cloudfront
Wowza opens 1935 port for Cloud Front using 443 port that convert to 1935 port
Cloud Front 443 => 1935
Wowza Control Panel
http://Domain-or-IP:8088
Default username & password
[install-dir]/conf/admin.password
AWS Wowza 同理,預設登入帳號為
wowza
,密碼為EC2 Instance ID。
RTMP推送至WOWZA
rtmp://[wowza-ip-address]:[port]/[application]/[streamName]
rtmp://IP:1935/live/obsname1