rsudp.packetloss
(track packets)
- rsudp.packetloss.main()
When run from the command line, pass in a value of seconds as an argument to set the packet loss for reporting period.
for example, to report packet loss statistics every hour, run the following command (if rsudp is installed in your environment, i.e. activate using
conda activate rsudp
, then):rs-packetloss -s 3600 -p 18001
- rsudp.packetloss.printTTLS(CHAN, TR)
Report packets lost.
- rsudp.packetloss.run(printFREQ=60, port=8888)
Initialize stream and print constants, then process data for packet loss.
- rsudp.packetloss.signal_handler(signal, frame)
The signal handler for the CTRL+C keystroke.