-
-
Notifications
You must be signed in to change notification settings - Fork 238
Teach test::Proxy to send packets in reverse direction #772
Copy link
Copy link
Open
Labels
C-networkingcategory: Network and streamingcategory: Network and streamingC-testscategory: Writing or improving testscategory: Writing or improving testseasy hacksSolution requires minimal project contextSolution requires minimal project contexthelp wantedLooking for contributorsLooking for contributors
Metadata
Metadata
Assignees
Labels
C-networkingcategory: Network and streamingcategory: Network and streamingC-testscategory: Writing or improving testscategory: Writing or improving testseasy hacksSolution requires minimal project contextSolution requires minimal project contexthelp wantedLooking for contributorsLooking for contributors
Type
Projects
Status
Help wanted
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.