[feat] add connection latency to network statistics

This commit is contained in:
dijunkun
2026-09-26 02:04:18 +08:00
parent 7ac8163931
commit b8389a8aa0
10 changed files with 149 additions and 34 deletions
@@ -417,6 +417,7 @@ void GuiRuntime::WaitForSessionCleanup() {
void GuiRuntime::ResetRemoteSessionResources(
std::shared_ptr<RemoteSession> props) {
props->net_traffic_stats_.Reset();
{
std::lock_guard<std::mutex> lock(props->video_frame_mutex_);
props->video_latency_->Reset();