maxsharabayko / srt-xtransmit

SRT transmission application used for testing
40 stars 17 forks source link

Subcommand 'route' can now corrupt packets. #67

Open maxsharabayko opened 1 year ago

maxsharabayko commented 1 year ago

Corrupt Every 10th Packet.

./srt-xtransmit route -i "udp://127.0.0.1:4200" -o "udp://127.0.0.1:5201?bind=:5200" --bidir --corruptpkt 10

Corrupt a Packet Every 1s.

./srt-xtransmit route -i "udp://127.0.0.1:4200" -o "udp://127.0.0.1:5201?bind=:5200" --bidir --corruptfreq 1s

Note that corrupting a packet by timeout (--corruptfreq 1s) starts right after the route is initiated. If the very first packet arrives later than 1 second after that, it will be 100% corrupted.