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

Issue 2995143002: Report max interframe delay over window insdead of interframe delay sum (Closed)

Created:
3 years, 4 months ago by ilnik
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), peah-webrtc, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, kwiberg-webrtc, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Report max interframe delay over window insdead of interframe delay sum Maximum of interframe delay is calculated over moving window in ReceiveStatistics proxy now and reported via GetStats. Name of a metric is also changed. BUG=none Review-Url: https://codereview.webrtc.org/2995143002 Cr-Commit-Position: refs/heads/master@{#19463} Committed: https://chromium.googlesource.com/external/webrtc/+/a79cc28de1fd7f0fa8e331e9bf3d8bbe2a24fa23

Patch Set 1 #

Total comments: 6

Patch Set 2 : Implemented Sprang@ comments #

Total comments: 15

Patch Set 3 : Implement Sprang@ comments #

Patch Set 4 : Dont add several samples with the same time. Make tests fail instead of crash on fail. #

Total comments: 36

Patch Set 5 : Implement Kwiberg@ comments #

Patch Set 6 : Implement more Kwiberg@ comments #

Total comments: 5

Patch Set 7 : REBASE #

Patch Set 8 : Report -1 in case no samples are available for max interframe delay. #

Patch Set 9 : Support negative max interframe delay in receivestatsproxy #

Total comments: 2

Patch Set 10 : Implement more Kwiberg@ comments #

Total comments: 10

Patch Set 11 : Implement more Kwiberg@ comments #

Total comments: 6

Patch Set 12 : Implement more Kwiberg@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -19 lines) Patch
M webrtc/api/statstypes.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/statstypes.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/call/video_receive_stream.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/pc/statscollector.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/rtc_base/BUILD.gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
A webrtc/rtc_base/moving_max_counter.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +116 lines, -0 lines 0 comments Download
A webrtc/rtc_base/moving_max_counter_unittest.cc View 1 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -1 line 0 comments Download
M webrtc/video/receive_statistics_proxy_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -9 lines 0 comments Download

Messages

Total messages: 42 (17 generated)
ilnik
3 years, 4 months ago (2017-08-17 15:20:33 UTC) #2
sprang_webrtc
https://codereview.webrtc.org/2995143002/diff/1/webrtc/video/receive_statistics_proxy.cc File webrtc/video/receive_statistics_proxy.cc (right): https://codereview.webrtc.org/2995143002/diff/1/webrtc/video/receive_statistics_proxy.cc#newcode47 webrtc/video/receive_statistics_proxy.cc:47: const int kMovingMaxWindowMs = 5000; I think this interval ...
3 years, 4 months ago (2017-08-18 09:06:50 UTC) #3
ilnik
https://codereview.webrtc.org/2995143002/diff/1/webrtc/video/receive_statistics_proxy.cc File webrtc/video/receive_statistics_proxy.cc (right): https://codereview.webrtc.org/2995143002/diff/1/webrtc/video/receive_statistics_proxy.cc#newcode47 webrtc/video/receive_statistics_proxy.cc:47: const int kMovingMaxWindowMs = 5000; On 2017/08/18 09:06:49, sprang_webrtc ...
3 years, 4 months ago (2017-08-18 11:43:02 UTC) #4
ilnik
+tommi for /rtc_base
3 years, 4 months ago (2017-08-18 11:43:56 UTC) #6
ilnik
https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h#newcode2 webrtc/rtc_base/moving_max_counter.h:2: * Copyright (c) 2013 The WebRTC project authors. All ...
3 years, 4 months ago (2017-08-18 13:31:18 UTC) #7
sprang_webrtc
https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h#newcode37 webrtc/rtc_base/moving_max_counter.h:37: explicit MovingMaxCounter(int window_length_ms); For consistency, maybe use int64_t for ...
3 years, 4 months ago (2017-08-21 14:41:09 UTC) #8
ilnik
https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h#newcode37 webrtc/rtc_base/moving_max_counter.h:37: explicit MovingMaxCounter(int window_length_ms); On 2017/08/21 14:41:09, sprang_webrtc wrote: > ...
3 years, 4 months ago (2017-08-21 14:59:27 UTC) #9
sprang_webrtc
lgtm Changing reviewer to kwiberg@ for rtc_base, sounds like a thing for him https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h File ...
3 years, 4 months ago (2017-08-22 08:44:50 UTC) #11
ilnik
https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/20001/webrtc/rtc_base/moving_max_counter.h#newcode78 webrtc/rtc_base/moving_max_counter.h:78: samples_.emplace_back(std::make_pair(time_ms, sample)); On 2017/08/22 08:44:50, sprang_webrtc wrote: > On ...
3 years, 4 months ago (2017-08-22 09:06:39 UTC) #12
kwiberg-webrtc
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode31 webrtc/rtc_base/moving_max_counter.h:31: // |MovingMax|. |time_ms| in consecutive calls to Add and ...
3 years, 4 months ago (2017-08-22 11:13:30 UTC) #13
ilnik
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode31 webrtc/rtc_base/moving_max_counter.h:31: // |MovingMax|. |time_ms| in consecutive calls to Add and ...
3 years, 4 months ago (2017-08-22 12:03:57 UTC) #14
kwiberg-webrtc
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode39 webrtc/rtc_base/moving_max_counter.h:39: void Add(const T& sample, int64_t time_ms); On 2017/08/22 12:03:56, ...
3 years, 4 months ago (2017-08-22 12:35:38 UTC) #15
ilnik
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode39 webrtc/rtc_base/moving_max_counter.h:39: void Add(const T& sample, int64_t time_ms); On 2017/08/22 12:35:37, ...
3 years, 4 months ago (2017-08-22 13:04:38 UTC) #16
ilnik
3 years, 4 months ago (2017-08-22 13:04:40 UTC) #17
kwiberg-webrtc
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode43 webrtc/rtc_base/moving_max_counter.h:43: On 2017/08/22 13:04:38, ilnik wrote: > On 2017/08/22 12:35:38, ...
3 years, 4 months ago (2017-08-22 13:28:41 UTC) #18
ilnik
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode43 webrtc/rtc_base/moving_max_counter.h:43: On 2017/08/22 13:28:40, kwiberg-webrtc wrote: > On 2017/08/22 13:04:38, ...
3 years, 4 months ago (2017-08-22 14:11:34 UTC) #23
ilnik
https://codereview.webrtc.org/2995143002/diff/100001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/100001/webrtc/rtc_base/moving_max_counter.h#newcode70 webrtc/rtc_base/moving_max_counter.h:70: #endif On 2017/08/22 13:28:41, kwiberg-webrtc wrote: > I think ...
3 years, 4 months ago (2017-08-22 16:12:44 UTC) #28
kwiberg-webrtc
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode43 webrtc/rtc_base/moving_max_counter.h:43: On 2017/08/22 14:11:34, ilnik wrote: > On 2017/08/22 13:28:40, ...
3 years, 4 months ago (2017-08-22 21:40:47 UTC) #31
ilnik
https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/60001/webrtc/rtc_base/moving_max_counter.h#newcode43 webrtc/rtc_base/moving_max_counter.h:43: On 2017/08/22 21:40:46, kwiberg-webrtc wrote: > On 2017/08/22 14:11:34, ...
3 years, 4 months ago (2017-08-23 07:46:51 UTC) #32
kwiberg-webrtc
Excellent. Just a few more comments. :-) https://codereview.webrtc.org/2995143002/diff/180001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/180001/webrtc/rtc_base/moving_max_counter.h#newcode33 webrtc/rtc_base/moving_max_counter.h:33: // Not ...
3 years, 4 months ago (2017-08-23 09:32:14 UTC) #33
ilnik
https://codereview.webrtc.org/2995143002/diff/180001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/180001/webrtc/rtc_base/moving_max_counter.h#newcode33 webrtc/rtc_base/moving_max_counter.h:33: // Not thread-safe. On 2017/08/23 09:32:14, kwiberg-webrtc wrote: > ...
3 years, 4 months ago (2017-08-23 09:57:56 UTC) #34
kwiberg-webrtc
Excellent! lgtm for rtc_base Thanks for hanging in there. It can be frustrating when reviewers ...
3 years, 4 months ago (2017-08-23 10:33:33 UTC) #35
ilnik
https://codereview.webrtc.org/2995143002/diff/200001/webrtc/rtc_base/moving_max_counter.h File webrtc/rtc_base/moving_max_counter.h (right): https://codereview.webrtc.org/2995143002/diff/200001/webrtc/rtc_base/moving_max_counter.h#newcode55 webrtc/rtc_base/moving_max_counter.h:55: // is non-decreasing, and the sequence of samples is ...
3 years, 4 months ago (2017-08-23 11:26:12 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2995143002/220001
3 years, 4 months ago (2017-08-23 11:26:41 UTC) #39
commit-bot: I haz the power
3 years, 4 months ago (2017-08-23 12:24:33 UTC) #42
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/external/webrtc/+/a79cc28de1fd7f0fa8e331e9b...

Powered by Google App Engine
This is Rietveld 408576698