Skip to content

add some more RPC stress tests and audio latency tests#74

Open
xianshijing-lk wants to merge 4 commits intomainfrom
sxian/BOT-215/improve_rpc_stress_test
Open

add some more RPC stress tests and audio latency tests#74
xianshijing-lk wants to merge 4 commits intomainfrom
sxian/BOT-215/improve_rpc_stress_test

Conversation

@xianshijing-lk
Copy link
Collaborator

To run the tests, do
./build.sh release-tests

then run
./build-release/bin/livekit_stress_tests --gtest_filter="LatencyMeasurementTest.FullDeplexAudioLatency"
./build-release/bin/livekit_stress_tests --gtest_filter="LatencyMeasurementTest.AudioLatency"
./build-release/bin/livekit_stress_tests --gtest_filter="LatencyMeasurementTest.RPC"

<< "At least one audio latency measurement should be recorded";
}

TEST_F(LatencyMeasurementTest, FullDeplexAudioLatency) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theomonnom @ladvoc , this is the full duplex audio latency that I used to mimic the client <-> agent use cases.
participant A is client, which will be using the fast path, no buffer.
participant B is the agent, which will use the buffered path, and react to the high energy audio frames from participant A.

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