From ffd0a844b268f6775aed8ecd4656bd29e3cce027 Mon Sep 17 00:00:00 2001 From: Tommi Date: Mon, 11 May 2020 08:24:47 +0200 Subject: [PATCH] Handle OnRttUpdate in ReceiveStatisticsProxy. Bug: webrtc:11490 Change-Id: Iba76f77ac1d73350810508f52293e4848f2f6f46 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/174300 Commit-Queue: Tommi Reviewed-by: Philip Eliasson Cr-Commit-Position: refs/heads/master@{#31208} --- video/receive_statistics_proxy2.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/video/receive_statistics_proxy2.cc b/video/receive_statistics_proxy2.cc index 31a0dc17d7..b818eae018 100644 --- a/video/receive_statistics_proxy2.cc +++ b/video/receive_statistics_proxy2.cc @@ -1023,11 +1023,7 @@ void ReceiveStatisticsProxy::OnStreamInactive() { void ReceiveStatisticsProxy::OnRttUpdate(int64_t avg_rtt_ms) { RTC_DCHECK_RUN_ON(&main_thread_); - // TODO(bugs.webrtc.org/11489): Now that this method is being called, as part - // of fixing 11490, we can uncomment the below line. However, since it will - // affect stats, that change will be landed as a separate CL. - - // avg_rtt_ms_ = avg_rtt_ms; + avg_rtt_ms_ = avg_rtt_ms; } void ReceiveStatisticsProxy::DecoderThreadStarting() {