Simulate UDP packet loss to test streams (MPEG-TS/RTP) in Wowza Streaming Engine

You can use RTPDePacketizerWrapperPacketLossSimulator, an IRTPDePacketizerWrapper implementation, to simulate UDP packet loss during MPEG-TS or RTP stream ingestion to Wowza Streaming Engine™ media server software. It will drop packets during the UDP ingestion process.

To configure, add the following properties to the <RTP>/<Properties> container in [install-dir]/conf/[application-name]/Application.xml:

<Property>
    <Name>rtpDePacketizerWrapper</Name>
    <Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperPacketLossSimulator</Value>
</Property>
<Property>
    <Name>rtpDePacketizerPacketLossSimulatorPacketLoss</Name>
    <Value>5.0</Value>
    <Type>Double</Type>
</Property>
<Property>
    <Name>rtpDePacketizerPacketLossSimulatorLogIncrement</Name>
    <Value>10000</Value>
    <Type>Integer</Type>
</Property>

Where:

rtpDePacketizerPacketLossSimulatorPacketLoss is the percentage of packet loss and rtpDePacketizerPacketLossSimulatorLogIncrement is the frequency, in milliseconds, at which packet loss details are logged. Set to 0 to turn off logging of packet loss details.