Configuring Wowza "live" media streaming server

#1. 

Go to wowza.com and create a liscence [Trial ver.] & copy the serial provided in email

#2.
Preparing machine ..eg. Centos 6.4 x64,ram=2G,HDD=70G (vmware10)

#3.
#  yum install  java-1.6.0-openjdk-devel.x86_64

#4. goto > http://www.wowza.com/pricing/installer
download rpm from gui  OR ..

#wget http://www.wowza.com/downloads/WowzaMediaServer-3-6-4/WowzaMediaServer-3.6      .4.rpm.bin

#chmod +x WowzaMediaServer-3.6.4.rpm.bin

#./ WowzaMediaServer-3.6.4.rpm.bin
#cd /usr/local/WowzaMediaServer
#./startup.sh

.....now setupstarts enter serial/liscence number when asked and complete
#  /etc/init.d/WowzaMediaServer status
# /etc/init.d/WowzaMediaServer start

<<<your Video contents are here >>>
 [root@server2 content]# pwd
/usr/local/WowzaMediaServer/content

#5.
allow ports 80,1935(tcp/udp)(macromedia),
#

#6    To Test media server goto http://www.wowza.com/gettingstarted
put your media servers ip i,e centos vm ip, click connect and see the content play.

#7     <<<< Configuration For Live Media Stream >>>

#step1.
mkdir /usr/local/WowzaMediaServer/applications/live

[root@server2 conf]# pwd
/usr/local/WowzaMediaServer/conf

[root@server2 conf]# mkdir live && cp Application.xml live/

now edit the newly copied Application.xml

#vim /usr/local/WowzaMediaServer/conf/live/Application.xml

 Steps for configuration:
Steps for configuration:

1.     Set the Streams/StreamType property to:
Code:
<StreamType>live</StreamType>

2.     Set the HTTPStreamers property to:
Code:
<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>

3.     Set the Streams/LiveStreamPacketizers property to:
Code:
<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>

4.     Set the RTP/Authentication/PlayMethod property to:
Code:
<PlayMethod>none</PlayMethod>
  

For Securing Access

[root@server2 conf]# pwd
/usr/local/WowzaMediaServer/conf
[root@server2 conf]# cp publish.password live/
[root@server2 conf]# pwd
/usr/local/WowzaMediaServer/conf
[root@server2 conf]# cd live/
[root@server2 live]# ls
Application.xml  publish.password
[root@server2 live]# cat publish.password
#Publish password file (format [username][space][password])
#username     password   
   admin          admin1234
##to set web login passwod for viewing info of the viewers..edit the file admin.password like below..


[root@server2 conf]# cat /usr/local/WowzaMediaServer/conf/admin.password
# Admin password file (format [username][space][password])
#username password
admin    admin123

###Now start wowza media server

to test  download flash media encoder
Adobe media encoder

make sure to put proper parameters






No comments:

Post a Comment