From c92338a13dee6402e4bf71bfd3544ff6460c8bd6 Mon Sep 17 00:00:00 2001 From: Alessio Bazzica Date: Thu, 8 Sep 2022 13:04:54 +0200 Subject: [PATCH] Remove `CallReceiveStatistics::rttMs` Bug: webrtc:10739 Change-Id: I747ef1d4bf8980755e7c6dcac22e5ed129f6f9cc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274580 Commit-Queue: Alessio Bazzica Reviewed-by: Danil Chapovalov Cr-Commit-Position: refs/heads/main@{#38041} --- audio/channel_receive.cc | 2 -- audio/channel_receive.h | 1 - 2 files changed, 3 deletions(-) diff --git a/audio/channel_receive.cc b/audio/channel_receive.cc index 530ebf3905..3847add73f 100644 --- a/audio/channel_receive.cc +++ b/audio/channel_receive.cc @@ -809,8 +809,6 @@ CallReceiveStatistics ChannelReceive::GetRTCPStatistics() const { stats.cumulativeLost = rtp_stats.packets_lost; stats.jitterSamples = rtp_stats.jitter; - stats.rttMs = GetRTT(); - // Data counters. if (statistician) { stats.payload_bytes_rcvd = rtp_stats.packet_counter.payload_bytes; diff --git a/audio/channel_receive.h b/audio/channel_receive.h index ae9cd59db8..c3eca29006 100644 --- a/audio/channel_receive.h +++ b/audio/channel_receive.h @@ -53,7 +53,6 @@ class RtpRtcp; struct CallReceiveStatistics { unsigned int cumulativeLost; unsigned int jitterSamples; - int64_t rttMs; int64_t payload_bytes_rcvd = 0; int64_t header_and_padding_bytes_rcvd = 0; int packetsReceived;