commit | 2b19f0631233488e891d9db0d170b637dc8fc464 | [log] [tgz] |
---|---|---|
author | pbos@webrtc.org <pbos@webrtc.org> | Thu Dec 11 13:26:09 2014 |
committer | pbos@webrtc.org <pbos@webrtc.org> | Thu Dec 11 13:26:09 2014 |
tree | 66e1f0d5b2e1473f1e8aa10be2352b5fd8a98a41 | |
parent | 13518951e37775dd73de0c5661726db08e83cb8c [diff] [blame] |
Wire up RTT statistics to webrtc::Call. R=mflodman@webrtc.org, stefan@webrtc.org BUG=1667,1788 Review URL: https://webrtc-codereview.appspot.com/32249004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7876 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/video/call.cc b/webrtc/video/call.cc index 512e82c..15cc835 100644 --- a/webrtc/video/call.cc +++ b/webrtc/video/call.cc
@@ -342,6 +342,9 @@ ++it) { stats.pacer_delay_ms = std::max(it->second->GetPacerQueuingDelayMs(), stats.pacer_delay_ms); + int rtt_ms = it->second->GetRtt(); + if (rtt_ms > 0) + stats.rtt_ms = rtt_ms; } } return stats;