Listen for a multicast stream on a particular network interface with Wowza Streaming Engine

By default, Wowza Streaming Engine™ media server software binds to the local network interface when joining a multicast stream. To force Wowza Streaming Engine to join using a particular network interface, add the local address of the network interface to Wowza Streaming Engine's virtual host configuration.

Wowza Streaming Engine Manager

  1. Click the Server tab and then click Virtual Host Setup in the contents panel.
  2. Click the Properties tab and then click Incoming RTP Datagram.
  3. In the Incoming RTP Datagram properties section, click Edit.
  4. Click Enabled for multicastBindToAddress_in and set it to True.
  5. Click Enabled for multicastInterfaceAddress_in and set it to the local address of the network interface that you want to use when joining the multicast stream.
  6. Click Save.
  7. Click the Applications tab and then select your application in the contents panel.
  8. Click the Properties tab and then click Custom.
  9. In the Custom properties section, click Edit.
  10. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:
    • Path - Select /Root/Application/RTP
    • Name - Enter multicastInterfaceAddress
    • Type - Select String
    • Value - The local address of the network interface that you want to use when joining the multicast stream
  11. Click Save and then restart Wowza Streaming Engine.

XML

  1. Navigate to [install-dir]/conf/ and open VHost.xml in a text editor.
  2. In the <RTP>/<Datagram>/<Incoming> container element, change:
<!-- <MulticastBindToAddress>true</MulticastBindToAddress> -->
<!-- <MulticastInterfaceAddress>192.168.1.22</MulticastInterfaceAddress> -->

To:

<MulticastBindToAddress>true</MulticastBindToAddress>
<MulticastInterfaceAddress>[address-of-network-interface]</MulticastInterfaceAddress>

where [address-of-network-interface] is the local address of the network interface that you want to use when joining the multicast stream:

If this doesn't solve the problem, add the same address to the application configuration.

  1. Save your changes to VHost.xml.
  2. Navigate to [install-dir]/conf/[application-name]/ and open Application.xml in a text editor.
  3. In the <RTP>/<Properties> containter element add the following:
<Property>
    <Name>multicastInterfaceAddress</Name>
    <Value>[address-of-network-interface]</Value>
</Property>
  1. Save your changes to Application.xml and restart Wowza Streaming Engine.