Turn on an RTP jitter buffer and packet loss logging (RTP and MPEG-TS) in Wowza Streaming Engine

Configure an RTP jitter buffer in Wowza Streaming Engine™ media server software to sort out-of-order packets and log packet loss in live RTP and MPEG-TS/UDP streams.

Note: To configure a jitter buffer and log packet loss for WebRTC streams, see Set up WebRTC streaming with Wowza Streaming Engine.

Contents


Configure an RTP jitter buffer Configure packet loss logging

Configure an RTP jitter buffer


This jitter buffer sorts out-of-order packets when it receives data spaced at irregular intervals and is recommended when streaming over UDP.

Wowza Streaming Engine Manager configuration

To configure an RTP jitter buffer in Wowza Streaming Engine Manager:
 
  1. Click the Applications tab at the top of the page.
     
  2. In the Applications contents panel, click the name of your live application (such as live).
     
  3. On the live application page Properties tab, click RTP Jitter Buffer 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. Click Edit in the RTP Jitter Buffer properties area and make the following changes:
     
    • Select the Enabled check box next to rtpDePacketizerWrapper and enter the value com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperPacketSorter.
       
    • Select the Enabled check box next to rtpDePacketizerPacketSorterBufferTime and change the size (in milliseconds) of the jitter buffer from the default value if desired. This time adds to the overall latency of the live stream.
       
    • Select the Enabled check box next to rtpDePacketizerPacketSorterFlushTime and change the time (in milliseconds) from the default value if desired. This is the time when the buffer will be flushed.

       
  5. Click Save, and then restart the application when prompted to apply the changes.

XML configuration

To configure an RTP jitter buffer in Application.xml:
 
  1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following properties to the RTP/Properties container. Be sure to add the properties to the correct <Properties> container in Application.xml as there are several in the file.
    <Property>
        <Name>rtpDePacketizerWrapper</Name>
        <Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperPacketSorter</Value>
    </Property>
    <Property>
        <Name>rtpDePacketizerPacketSorterBufferTime</Name>
        <Value>500</Value>
        <Type>Integer</Type>
    </Property>
    <Property>
        <Name>rtpDePacketizerPacketSorterFlushTime</Name>
        <Value>10</Value>
        <Type>Integer</Type>
    </Property>
  2. Restart Wowza Streaming Engine to apply the changes.

Configure packet loss logging


Use the following procedures to log information about lost packets in live RTP and MPEG-TS streams to the access log file in [install-dir]/logs.

Wowza Streaming Engine Manager configuration

To configure packet loss logging in Wowza Streaming Engine Manager:
 
  1. Click the Applications tab at the top of the page.
     
  2. In the Applications contents panel, click the name of your live application (such as live).
     
  3. On the live application page Properties tab, click RTP Jitter Buffer 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. Click Edit in the RTP Jitter Buffer properties area and make the following changes depending on stream type:
     
    • To enable logging of lost packets in RTP live streams, select the Enabled check box next to rtpDePacketizerPacketSorterLogPacketLoss and set the value to True.
       
    • If the stream is MPEG-TS over UDP (no RTP involved), select the Enabled check box next to mpegtsLogIncompleteVideoFrames and set the value to True.
  5. Click Save, and then restart the application when prompted to apply the changes.

XML configuration

To configure packet loss logging in Application.xml:
 
  1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following properties to the RTP/Properties container. Be sure to add the properties to the correct <Properties> container in Application.xml as there are several in the file.
    <Property>
        <Name>rtpDePacketizerPacketSorterLogPacketLoss</Name>
        <Value>true</Value>
        <Type>Boolean</Type>
    </Property>
    <Property>
        <Name>mpegtsLogIncompleteVideoFrames</Name>
        <Value>true</Value>
        <Type>Boolean</Type>
    </Property>
  2. Restart Wowza Streaming Engine to apply the changes.