Install Wowza Media Server



  1. Flash Media Server
  2. Wowza Streaming Server
  3. Wowza Media Systems
Install Wowza Media Server

Pre-Requisites

Jan 28, 2020 Wowza Streaming Engine is a powerful Java-based media server that allows you to transmux, transcode, and simulcast your live streams and video on demand. This gives you the greatest audience reach since your live video streams, which may come from many devices, can play on the most cutting-edge platforms as well as out of date hardware. This guide describes how to install and configure Wowza Streaming Engine media server software on Amazon EC2, a web service that provides resizable compute capacity in the cloud. Amazon EC2 is a. Wowza Media Server is the high-performance, high-value unified streaming media and video software. It is used for live or on-demand streaming to websites, computers, mobile devices and IPTV/OTT endpoints.

  • 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

Install Wowza Media Server
  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):
Install Wowza Media Server

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

Wowza

Flash Media Server

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.

Wowza Streaming Server

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.

Media
  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.

Wowza Media Systems

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