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
- Click the Server tab and then click Virtual Host Setup in the contents panel.
- Click the Properties tab and then click Incoming RTP Datagram.
- In the Incoming RTP Datagram properties section, click Edit.
- Click Enabled for multicastBindToAddress_in and set it to True.
- 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.
- Click Save.
- Click the Applications tab and then select your application in the contents panel.
- Click the Properties tab and then click Custom.
- In the Custom properties section, click Edit.
- 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
- Click Save and then restart Wowza Streaming Engine.
XML
- Navigate to [install-dir]/conf/ and open VHost.xml in a text editor.
- 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.
- Save your changes to VHost.xml.
- Navigate to [install-dir]/conf/[application-name]/ and open Application.xml in a text editor.
- In the <RTP>/<Properties> containter element add the following:
<Property> <Name>multicastInterfaceAddress</Name> <Value>[address-of-network-interface]</Value> </Property>
- Save your changes to Application.xml and restart Wowza Streaming Engine.