Nicholas J Humfrey
and 1 contributors

NAME - Log packet loss for a RTP session every minute

SYNOPSIS <address> [<port>] [<src_ip>]

DESCRIPTION displays the packet loss summary for a specific transmitter for each minute that passes. If no port is specified, then port 5004 is assumed. If no source address is specified, then the source address of the first packet recieved is used. uses seperate threads for recieving packets and displaying statistics, so version 5.8 or greater of perl is recommended for stable threading.

When is started, it waits until the start of a minute before starting to log packet loss. Thereafter a row is displayed for each minute that passes (even if no packets have been recieved). The log data is sent, with each field seperated by a tab, to STDOUT. Additional messages are sent to STDERR.

The fields in each row are as follows:

  • The first column is the UNIX timestamp for the start of the reported minute.

  • The second column is the number of packets that were recieved in that minute.

  • The third column is the number of bytes that were recieved in that minute (including estimated IP packet headers).

  • The fourth column is the number of packets that were lost in the minute.

  • The fifth column is the number of packets that arrived late (out of order).





Unicast addresses aren't currently detected and fail when trying to join multicast group.


Nicholas J Humfrey,


Copyright (C) 2006 University of Southampton

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.008 or, at your option, any later version of Perl 5 you may have available.