I’ve configured RTP Packet Loss Logging. My RTP jitter properties are below.
I’m confused by the logs that are produced though. When streaming over a high quality wifi connection I don’t see any / many logs (as I would expect). When I stream over an LTE connection I see many more lost packet logs. (Again this is as I would expect.)
However some of the logged messages don’t appear to have any lost packets.
Here is a chunk of the logs as an example:
2017-02-07 18:58:28 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27563 curr:27564 - - - 1290188.528 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:28 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27565 curr:27566 - - - 1290188.569 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:28 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27571 curr:27584 - - - 1290188.975 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:28 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27585 curr:27586 - - - 1290189.006 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:28 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27587 curr:27588 - - - 1290189.077 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:28 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27589 curr:27590 - - - 1290189.158 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27591 curr:27604 - - - 1290189.482 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27605 curr:27606 - - - 1290189.553 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27607 curr:27608 - - - 1290189.615 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27609 curr:27610 - - - 1290189.777 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27611 curr:27625 - - - 1290189.959 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27626 curr:27627 - - - 1290189.98 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27628 curr:27629 - - - 1290190.0 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27630 curr:27631 - - - 1290190.051 - - - - - - -- - - - - - - - - - - - - - - - - -
2017-02-07 18:58:29 UTC comment server WARN 200 - RTPDePacketizerWrapperPacketSorter.packetLoss[webrtc/_definst_/my-stream:track1]: last:27632 curr:27633 - - - 1290190.062 - - - - - - -
Some of these log messages seem like what I would expect, like “last:27591 curr:27604”. Clearly there were a number of packets lost there. However many of these messages don’t seem like packet loss like: “last:27563 curr:27564” and “last:27632 curr:27633”. In both of these cases the last number is one less than the curr number, which I would expect means no packets were lost. Am I mis-interpreting this? Are these messages being logged erroneously? Is “last” the expected next packet, not the last received packet?
<Properties>
<Property>
<Name>rtpDePacketizerPacketSorterLogPacketLoss</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
<Property>
<Name>mpegtsLogIncompleteVideoFrames</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
<Property>
<Name>rtpDePacketizerWrapper</Name>
<Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperPacketSorter</Value>
<Type>String</Type>
</Property>
<Property>
<Name>rtpDePacketizerPacketSorterBufferTime</Name>
<Value>500</Value>
<Type>Integer</Type>
</Property>
</Properties>
Thanks for any clarification!
Aaron