roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.03k stars 205 forks source link

Create tests for measuring glitches and latency #551

Open gavv opened 9 months ago

gavv commented 9 months ago

Roc already has unit and integration tests, but they, by design, have limitations:

We want to develop a new set of real-time tests:

These new tests will live in a separate repo: rt-tests.

Currently, the new repo has a build system, and a skeleton of one test that implements full loopback: writes audio stream to roc sender, obtains the stream from roc receiver, and runs a very basic check.

Now we need to develop a few actual tests:

Please refer to rt-tests repo issues for more detailed description of each test:

rt-tests repo uses C++17, cmake, and Google Test.