How to fix UDP packet loss (MPEG-TS/RTP)

This article explains how you can adjust your Wowza™ media server configuration to solve packet loss issues with incoming MPEG-TS or RTP streams being delivered over UDP or multicast.

You can configure server properties in Wowza Streaming Engine™ Manager or by editing [install-dir]/conf/VHost.xml. If you make changes to VHost.xml and you're using Wowza Streaming Engine media server software, any supported settings are displayed in the manager the next time it's started. Wowza Media Server™ software doesn't support Wowza Streaming Engine Manager, so you must edit VHost.xml in a text editor if you're running Media Server software.

Ensure you have the most recent Wowza media server software updates and that your media server is properly tuned.

Wowza Streaming Engine Manager configuration

To adjust server properties in Wowza Streaming Engine Manager:
  1. In the manager Welcome page, click the Server tab at the top of the page.
  2. In the Server contents panel, click Virtual Host Setup.
  3. On the Virtual Host Setup page Properties tab, click Incoming RTP Datagram in the Quick Links bar.
    Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
  4. In the Incoming RTP Datagram properties area, click Edit.
  5. Select the Enabled check box next to datagramMaximumPacketSize_in, and set the value to 8192. Set other properties to default values.
  6. Click Save, and then restart the virtual host when prompted to apply the changes.

XML configuration

To adjust Wowza media server properties in VHost.xml:
  1. Use a text editor to open the [install-dir]/conf/VHost.xml file and edit the RTP/DatagramConfiguration/Incoming section to match the values below:
            <!-- <MulticastBindToAddress>true</MulticastBindToAddress> -->
            <!-- <MulticastInterfaceAddress>[ip-address]</MulticastInterfaceAddress> -->
            <!-- <TrafficClass>0</TrafficClass> -->
  2. Restart the Wowza media server software to apply the changes.

If you're having problems or want to discuss this article, post in our forum.