Handle OnRttUpdate in ReceiveStatisticsProxy.

Bug: webrtc:11490
Change-Id: Iba76f77ac1d73350810508f52293e4848f2f6f46
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/174300
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31208}
This commit is contained in:
Tommi
2020-05-11 08:24:47 +02:00
committed by Commit Bot
parent 09e9a83d91
commit ffd0a844b2

View File

@ -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() {