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

Teach test::Proxy to send packets in reverse direction #772

Open
gavv opened this issue Jul 30, 2024 · 4 comments
Open

Teach test::Proxy to send packets in reverse direction #772

gavv opened this issue Jul 30, 2024 · 4 comments
Assignees
Labels
easy hacks The solution is expected to be straightforward even if you are new to the project help wanted An important and awaited task but we have no human resources for it yet networking Network I/O and algorithms tests

Comments

@gavv
Copy link
Member

gavv commented Jul 30, 2024

test::Proxy is a class that we use in integration tests for C API.

Proxy is inserted between sender and receiver. Instead of connecting sender to receiver, we connect sender to proxy and proxy to receiver. Mostly, proxy just forwards packets as is and calculates some metrics, but it can also simulate network losses by dropping some packets.

Currently Proxy supports two uni-directional endpoints: one for source packets (audio packets sent from sender to receiver) and another for repair packets (redundancy packets sent from sender to receiver). See docs.

We want to teach Proxy to support optional endpoint for control packets. This endpoint should be bidirectional, i.e. sender sends control packets to receiver (via proxy), and receiver sends control packets to sender (via proxy).

This would allow us to improve tests for metrics.

@gavv gavv added tests help wanted An important and awaited task but we have no human resources for it yet easy hacks The solution is expected to be straightforward even if you are new to the project networking Network I/O and algorithms labels Jul 30, 2024
@gavv gavv added this to Roc Toolkit Jul 30, 2024
@github-project-automation github-project-automation bot moved this to Frontlog in Roc Toolkit Jul 30, 2024
@gavv gavv moved this from Frontlog to Help wanted in Roc Toolkit Jul 30, 2024
@kiranlahiri
Copy link

Hi! I would like to work on this!

@gavv
Copy link
Member Author

gavv commented Nov 22, 2024

@kiranlahiri Hi, sorry for late reply. Please let me know if you're still interested.

@kiranlahiri
Copy link

No worries. Yes, I am still interested!

@gavv
Copy link
Member Author

gavv commented Nov 22, 2024

You're welcome then, let me know if you have any questions.

kiranlahiri added a commit to kiranlahiri/roc-toolkit that referenced this issue Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy hacks The solution is expected to be straightforward even if you are new to the project help wanted An important and awaited task but we have no human resources for it yet networking Network I/O and algorithms tests
Projects
Status: Help wanted
Development

No branches or pull requests

2 participants