Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Issue 1669623004: Use CallStats for RTT in Call, rather than VideoSendStream::GetRtt() (Closed)

Created:
4 years, 10 months ago by sprang_webrtc
Modified:
4 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman, the sun, pbos-webrtc, perkj_webrtc, andresp
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Use CallStats for RTT in Call, rather than VideoSendStream::GetRtt() Also move some stats reporting from vie_channel to send stats proxy BUG= Committed: https://crrev.com/e2d83d6560272ee68cf99c4fd4f78a437adeb98c Cr-Commit-Position: refs/heads/master@{#11688}

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 10

Patch Set 3 : AverageRoundTripTimeInMilliseconds metric moved to CallStats + test #

Patch Set 4 : Addressed comments #

Total comments: 12

Patch Set 5 : Addressed comments #

Total comments: 2

Patch Set 6 : Use avergage avergage RTT for histogram stats #

Total comments: 2

Patch Set 7 : Addressed comment #

Total comments: 2

Patch Set 8 : Check for CallStats RTT validity in rtp module #

Total comments: 6

Patch Set 9 : Addressed comment, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -141 lines) Patch
M webrtc/call/call.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -9 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -2 lines 0 comments Download
M webrtc/video/call_stats.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/video/call_stats.cc View 1 2 3 4 5 6 7 8 6 chunks +41 lines, -17 lines 0 comments Download
M webrtc/video/call_stats_unittest.cc View 1 2 4 chunks +19 lines, -2 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -8 lines 0 comments Download
M webrtc/video/send_statistics_proxy.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -1 line 0 comments Download
M webrtc/video/video_send_stream.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -15 lines 0 comments Download
M webrtc/video/vie_channel.h View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -14 lines 0 comments Download
M webrtc/video/vie_channel.cc View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -72 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
sprang_webrtc
4 years, 10 months ago (2016-02-04 10:04:33 UTC) #2
åsapersson
https://codereview.webrtc.org/1669623004/diff/20001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/20001/webrtc/video/call_stats.cc#newcode121 webrtc/video/call_stats.cc:121: // TODO(asapersson): Consider changing this to report the average ...
4 years, 10 months ago (2016-02-05 13:50:13 UTC) #3
sprang
Addressed comments, but also moved rtt histogram reporting to CallStats plus added a test for ...
4 years, 10 months ago (2016-02-05 14:10:22 UTC) #5
åsapersson
https://codereview.webrtc.org/1669623004/diff/60001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/60001/webrtc/video/call_stats.cc#newcode102 webrtc/video/call_stats.cc:102: RTC_CHECK(observers_.empty()); maybe DCHECK? https://codereview.webrtc.org/1669623004/diff/60001/webrtc/video/call_stats.cc#newcode171 webrtc/video/call_stats.cc:171: rtc::CritScope cs(&crit_); if time_of_first_rtt_ms_ ...
4 years, 10 months ago (2016-02-08 09:26:14 UTC) #6
sprang
https://codereview.webrtc.org/1669623004/diff/60001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/60001/webrtc/video/call_stats.cc#newcode102 webrtc/video/call_stats.cc:102: RTC_CHECK(observers_.empty()); On 2016/02/08 09:26:14, åsapersson wrote: > maybe DCHECK? ...
4 years, 10 months ago (2016-02-08 10:34:24 UTC) #7
åsapersson
https://codereview.webrtc.org/1669623004/diff/80001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/80001/webrtc/video/call_stats.cc#newcode179 webrtc/video/call_stats.cc:179: "WebRTC.Video.AverageRoundTripTimeInMilliseconds", avg_rtt_ms_); Should this report average of avg_rtt_ms_?
4 years, 10 months ago (2016-02-08 11:00:52 UTC) #8
sprang
https://codereview.webrtc.org/1669623004/diff/80001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/80001/webrtc/video/call_stats.cc#newcode179 webrtc/video/call_stats.cc:179: "WebRTC.Video.AverageRoundTripTimeInMilliseconds", avg_rtt_ms_); On 2016/02/08 11:00:51, åsapersson wrote: > Should ...
4 years, 10 months ago (2016-02-08 11:12:13 UTC) #9
åsapersson
https://codereview.webrtc.org/1669623004/diff/100001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/100001/webrtc/video/call_stats.cc#newcode183 webrtc/video/call_stats.cc:183: if (avg_rtt_ms != -1 && elapsed_sec >= metrics::kMinRunTimeInSeconds) { ...
4 years, 10 months ago (2016-02-08 11:22:31 UTC) #10
sprang
https://codereview.webrtc.org/1669623004/diff/100001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/100001/webrtc/video/call_stats.cc#newcode183 webrtc/video/call_stats.cc:183: if (avg_rtt_ms != -1 && elapsed_sec >= metrics::kMinRunTimeInSeconds) { ...
4 years, 10 months ago (2016-02-08 12:20:45 UTC) #11
åsapersson
lgtm
4 years, 10 months ago (2016-02-08 12:31:10 UTC) #12
åsapersson
https://codereview.webrtc.org/1669623004/diff/120001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/120001/webrtc/video/call_stats.cc#newcode98 webrtc/video/call_stats.cc:98: avg_rtt_ms_(-1), Note, now that rtt can be -1 if ...
4 years, 10 months ago (2016-02-10 10:35:58 UTC) #13
sprang_webrtc
ping stefan https://codereview.webrtc.org/1669623004/diff/120001/webrtc/video/call_stats.cc File webrtc/video/call_stats.cc (right): https://codereview.webrtc.org/1669623004/diff/120001/webrtc/video/call_stats.cc#newcode98 webrtc/video/call_stats.cc:98: avg_rtt_ms_(-1), On 2016/02/10 10:35:58, åsapersson (ooo until ...
4 years, 10 months ago (2016-02-15 09:21:29 UTC) #15
stefan-webrtc
lgtm, but consider my last comments. https://codereview.webrtc.org/1669623004/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1669623004/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode188 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:188: if (last_rtt >= ...
4 years, 10 months ago (2016-02-19 10:44:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1669623004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1669623004/160001
4 years, 10 months ago (2016-02-19 15:02:57 UTC) #19
sprang
https://codereview.webrtc.org/1669623004/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1669623004/diff/140001/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode188 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:188: if (last_rtt >= 0) On 2016/02/19 10:44:16, stefan-webrtc (holmer) ...
4 years, 10 months ago (2016-02-19 15:03:16 UTC) #21
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-19 17:03:30 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-19 17:03:38 UTC) #24
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e2d83d6560272ee68cf99c4fd4f78a437adeb98c
Cr-Commit-Position: refs/heads/master@{#11688}

Powered by Google App Engine
This is Rietveld 408576698