Switch CallStats to TQ interface + callbacks on the worker thread.
Bug: webrtc:11489
Change-Id: I08c4cd42dfa28d88ed9f0aa8c8b2cfb606bf00df
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/174240
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Magnus Flodman <mflodman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31203}
diff --git a/video/receive_statistics_proxy2.cc b/video/receive_statistics_proxy2.cc
index 0fda7c8..31a0dc1 100644
--- a/video/receive_statistics_proxy2.cc
+++ b/video/receive_statistics_proxy2.cc
@@ -1022,11 +1022,11 @@
}
void ReceiveStatisticsProxy::OnRttUpdate(int64_t avg_rtt_ms) {
- // TODO(bugs.webrtc.org/11489): This method is currently never called except
- // from a unit test, GetStatsReportsDecodeTimingStats, and even then it has no
- // effect. Once 11490 items in video_receive_stream2.cc have been addressed,
- // we can uncomment the following:
- // RTC_DCHECK_RUN_ON(&main_thread_);
+ 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;
}