Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subcommand 'route' can now corrupt packets. #67

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maxsharabayko
Copy link
Owner

@maxsharabayko maxsharabayko commented Dec 13, 2022

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.

@maxsharabayko maxsharabayko force-pushed the develop/corrupt-packet branch from 2af045f to 906d403 Compare January 6, 2023 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant