Install Wowza Media Server

Pre-Requisites

  • Installing Wowza Media Server on your web server will be very similar to what you have already done on your local PC. If you plan to do HTTP adaptive streaming (Apple HLS, Adobe HDS, Microsoft Smooth Streaming, or MPEG DASH) from Wowza, then you just need to make sure that you do not run into a port 80 conflict with your web server.
  • To install: Double-click the WowzaStreamingEngine-4.8.5.05-windows-installer.exe installer file and follow the onscreen instructions. To run Wowza™ Transcoder on Windows Server 2008 or 2012 the following components are required.
  • In this tutorial we talk about how to install Wowza Media Server 3.5 to a Windows machine. While installation is relatively simple, there are a bunch of othe.
  • Install JDK
  • Install Wowza Media Server

Android Port Setup

Android playback required that port 554 be on Wowza. Use the following steps to enable port 554 on Wowza

Click Install to install Wowza Media Server. Leave the first box checked to start the Wowza Media Server service once the window closes. Uncheck Launch Wowza Streaming Engine Manager in a web browser. Before launching the Wowza Media Server, you will need to configure it as explained in a subsequent topic.

  1. Open [Wowza Install Location]Conf and edit the VHost.xml file.
  2. Find the line that says:<Port>1935</Port>And change it to <Port>1935,554</Port>
  3. Save the File
  4. Restart the Wowza Windows Service for the changes to take effect
'Note: you must also change your firewall rules to allow port 554 inbound to the Wowza server.'

Wowza RAM Configuration

Wowza ships with a default config file that allows only 768MB of RAM to be used for streaming. Medium to heavy volume servers this is not enough RAM for the service to function effectively.

It is recommended you increase RAM available to the Wowza service. Note, that the exact amount you allocate depends on many factors including available RAM, number of other services running (i.e. SQL, IIS, etc.) and the anticipated load. We recommend at least 3000MB for a medium duty server. Heavy load streamers will require 6000-8000MB of RAM dedicated to the Wowza service. These are guidelines only, you will have to determine your own Wowza RAM setting based on your needs and environment.

Note: this section assumes you are running the Java JDK. The “-server” switch mentioned below only works with the JDK version of Java and will cause an error if you use it with the JRE. See previous section on installing JDK.

  1. Open [Wowza Install Location]Bin and edit the WowzaMediaServer-Serivce.conf file.
  2. Find and edit the following line (remember you need to determine you own RAM setting per your environment, also the “-server” switch only works with the JDK):

wrapper.java.additional.1= -Xmx768M
And change it to whatever RAM you determined (this example is 3GB)
wrapper.java.additional.1=-server –Xmx3000M

  1. Restart the Wowza Service for the changes to take effect

Wowza Application Configuration

After your Wowza service is configured you must create a Wowza Application, which is similar to Virtual Directories. These Applications folders (and corresponding configuration (CONF) folders ) tell Wowza what sub directories it will answer request for. For example, we will create an Applications folder (and corresponding Conf folder) for “Streaming”. Which means if someone sends a stream request to rtmp://server.domain.com/Streaming the Wowza server will service the request using the configuration setting stored in the Conf directory. See the Wowza administrator guide for detailed information.

In the example below we will create an entry for “Streaming”. You must have the storage location for your videos configured and accessible to the Wowza server before you perform this configuration. For this example we are going to assume we have created a folder on the V: drive called Streaming for this Wowza application.

  1. Open [Wowza Install Location]Applications and create a new folder called Streaming
  2. Open [Wowza Install Location]conf and create a new folder called Streaming
  3. Copy the file called Application.xml from the root of [Wowza Install Location]conf and paste in into the empty directory you just creatd called Streaming in the Conf folder.
  4. Edit the newly created applications.xml in Notepad.
  5. Scroll down to the <Streams> section and update the <StorageDir> to point to your data path (for this example we are using v:Streaming).Insert non-formatted text here<nowiki>Insert non-formatted text here</nowiki>
  6. Save your file and restart the Wowza Serivces for the changes to take effect.
Retrieved from 'http://wiki.ensemblevideo.com/index.php?title=Configure_Wowza_Streaming_Server&oldid=422'

Pre-Requisites

Wowza Media Server Hosting

  • Install JDK
  • Install Wowza Media Server

Android Port Setup

Android playback required that port 554 be on Wowza. Use the following steps to enable port 554 on Wowza

  1. Open [Wowza Install Location]Conf and edit the VHost.xml file.
  2. Find the line that says:<Port>1935</Port>And change it to <Port>1935,554</Port>
  3. Save the File
  4. Restart the Wowza Windows Service for the changes to take effect
'

How To Install Wowza Media Server On Ubuntu

Note: you must also change your firewall rules to allow port 554 inbound to the Wowza server.'

Wowza RAM Configuration

Media

Wowza ships with a default config file that allows only 768MB of RAM to be used for streaming. Medium to heavy volume servers this is not enough RAM for the service to function effectively.

It is recommended you increase RAM available to the Wowza service. Note, that the exact amount you allocate depends on many factors including available RAM, number of other services running (i.e. SQL, IIS, etc.) and the anticipated load. We recommend at least 3000MB for a medium duty server. Heavy load streamers will require 6000-8000MB of RAM dedicated to the Wowza service. These are guidelines only, you will have to determine your own Wowza RAM setting based on your needs and environment.

Note: this section assumes you are running the Java JDK. The “-server” switch mentioned below only works with the JDK version of Java and will cause an error if you use it with the JRE. See previous section on installing JDK.

  1. Open [Wowza Install Location]Bin and edit the WowzaMediaServer-Serivce.conf file.
  2. Find and edit the following line (remember you need to determine you own RAM setting per your environment, also the “-server” switch only works with the JDK):

wrapper.java.additional.1= -Xmx768M
And change it to whatever RAM you determined (this example is 3GB)
wrapper.java.additional.1=-server –Xmx3000M

  1. Restart the Wowza Service for the changes to take effect

Wowza Application Configuration

After your Wowza service is configured you must create a Wowza Application, which is similar to Virtual Directories. These Applications folders (and corresponding configuration (CONF) folders ) tell Wowza what sub directories it will answer request for. For example, we will create an Applications folder (and corresponding Conf folder) for “Streaming”. Which means if someone sends a stream request to rtmp://server.domain.com/Streaming the Wowza server will service the request using the configuration setting stored in the Conf directory. See the Wowza administrator guide for detailed information.

In the example below we will create an entry for “Streaming”. You must have the storage location for your videos configured and accessible to the Wowza server before you perform this configuration. For this example we are going to assume we have created a folder on the V: drive called Streaming for this Wowza application.

  1. Open [Wowza Install Location]Applications and create a new folder called Streaming
  2. Open [Wowza Install Location]conf and create a new folder called Streaming
  3. Copy the file called Application.xml from the root of [Wowza Install Location]conf and paste in into the empty directory you just creatd called Streaming in the Conf folder.
  4. Edit the newly created applications.xml in Notepad.
  5. Scroll down to the <Streams> section and update the <StorageDir> to point to your data path (for this example we are using v:Streaming).Insert non-formatted text here<nowiki>Insert non-formatted text here</nowiki>
  6. Save your file and restart the Wowza Serivces for the changes to take effect.

How To Install Wowza Media Server On Windows

Retrieved from 'http://wiki.ensemblevideo.com/index.php?title=Configure_Wowza_Streaming_Server&oldid=422'