Skip to content

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

@gavv

Description

@gavv

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.

Metadata

Metadata

Labels

C-networkingcategory: Network and streamingC-testscategory: Writing or improving testseasy hacksSolution requires minimal project contexthelp wantedLooking for contributors

Projects

Status

Help wanted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions