How to enable multicast streaming in Wowza Streaming Engine

I started to explore multicast network technology and talk about it from previous post. Mostly working with WowzaStreamingEngine, I wish to show principles and milestones configuration there.

All described here is a list of simple instructions. When this post was done, the latest Wowza version was a 4.4.1. For the future XML configuration can be altered.

1. Configure virtual host instance.

Dig up RTP block at the [wowza_dir]/conf/VHosts.xml file and comment out multicast configuration variables.

You can configure both directions, but usually for stream reception Wowza needs only incoming one. You might to set up UDP buffer size, but it would be much more reliable to customize OS settings for this point.

Now your RTP block should look like this.

			<!-- <MulticastBindToAddress>true</MulticastBindToAddress> --> 
			<!-- <MulticastInterfaceAddress></MulticastInterfaceAddress> --> 
			<!-- <TrafficClass>0</TrafficClass> --> 

2 Configure streaming application

Find out an RTP block at the [wowza_dir]/conf/[app_name]/Application.xml file and put there some properties. The sense there is to customize a multicast stream packetization by different protocols.

There is a one milestone: in some cases Wowza can’t packetize input stream and reject this. For problem solution I use a rtpDePacketizerWrapper which works like a syncing jitter buffer.

Here is my result of configuration:

	<!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->

3. Restart WowzaStreamingEngine to refresh your configuration

4. Check the Wowza multicast stream packetization. You would be better to look at access log or try to playback this stream from Wowza server. When it doesn’t actually work, Wowza logs info messages like “Stream not healthy”.

This issue is definitely cleared up as needed. It looks like a simple “how-to” solution. But in fact there is a lot of big opportunities to optimize source stream processing. And unfortunately it’s also easy to get stuck with multicast reception by Wowza. Hope I’ll continue research about pointed network field and make more articles with mechanisms explanation.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s