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

Issue 2965233002: Let alr dectector use a budged to detect underuse. (Closed)

Created:
3 years, 5 months ago by tschumi
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Let alr detector use a budged to detect underuse. BUG=webrtc:7947 Review-Url: https://codereview.webrtc.org/2965233002 Cr-Commit-Position: refs/heads/master@{#18972} Committed: https://chromium.googlesource.com/external/webrtc/+/82c5593cb6a04cef829a0924fb332f56976a5f69

Patch Set 1 #

Total comments: 11

Patch Set 2 : Response to comments #

Total comments: 28

Patch Set 3 : Respond to comments. #

Patch Set 4 : Added TODO's #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -126 lines) Patch
M webrtc/modules/pacing/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/pacing/alr_detector.h View 1 2 3 4 4 chunks +15 lines, -10 lines 0 comments Download
M webrtc/modules/pacing/alr_detector.cc View 1 2 3 4 2 chunks +33 lines, -33 lines 0 comments Download
M webrtc/modules/pacing/alr_detector_unittest.cc View 1 2 5 chunks +67 lines, -33 lines 0 comments Download
A webrtc/modules/pacing/interval_budget.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A webrtc/modules/pacing/interval_budget.cc View 1 chunk +64 lines, -0 lines 0 comments Download
A webrtc/modules/pacing/interval_budget_unittest.cc View 1 2 1 chunk +119 lines, -0 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.h View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 2 3 4 5 chunks +5 lines, -44 lines 0 comments Download
M webrtc/video/full_stack_tests.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 35 (20 generated)
tschumi
3 years, 5 months ago (2017-07-06 14:21:59 UTC) #7
stefan-webrtc
https://codereview.webrtc.org/2965233002/diff/1/webrtc/modules/pacing/alr_detector.cc File webrtc/modules/pacing/alr_detector.cc (right): https://codereview.webrtc.org/2965233002/diff/1/webrtc/modules/pacing/alr_detector.cc#newcode85 webrtc/modules/pacing/alr_detector.cc:85: if (sscanf(group_name.c_str(), "%f,%" PRId64 ",%d,%d,%d", If we change this ...
3 years, 5 months ago (2017-07-06 14:55:38 UTC) #8
tschumi
https://codereview.webrtc.org/2965233002/diff/1/webrtc/modules/pacing/alr_detector.cc File webrtc/modules/pacing/alr_detector.cc (right): https://codereview.webrtc.org/2965233002/diff/1/webrtc/modules/pacing/alr_detector.cc#newcode85 webrtc/modules/pacing/alr_detector.cc:85: if (sscanf(group_name.c_str(), "%f,%" PRId64 ",%d,%d,%d", I already have, and ...
3 years, 5 months ago (2017-07-07 08:47:30 UTC) #9
holmer
https://codereview.webrtc.org/2965233002/diff/1/webrtc/modules/pacing/alr_detector.cc File webrtc/modules/pacing/alr_detector.cc (right): https://codereview.webrtc.org/2965233002/diff/1/webrtc/modules/pacing/alr_detector.cc#newcode85 webrtc/modules/pacing/alr_detector.cc:85: if (sscanf(group_name.c_str(), "%f,%" PRId64 ",%d,%d,%d", On 2017/07/07 08:47:30, tschumi ...
3 years, 5 months ago (2017-07-07 09:21:23 UTC) #11
terelius
https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.h File webrtc/modules/pacing/alr_detector.h (right): https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.h#newcode61 webrtc/modules/pacing/alr_detector.h:61: static constexpr int kDefaultAlrStopBudgetLevelPercent = -20; How does the ...
3 years, 5 months ago (2017-07-07 09:24:51 UTC) #12
tschumi
https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.h File webrtc/modules/pacing/alr_detector.h (right): https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.h#newcode61 webrtc/modules/pacing/alr_detector.h:61: static constexpr int kDefaultAlrStopBudgetLevelPercent = -20; The budged can ...
3 years, 5 months ago (2017-07-07 09:36:15 UTC) #13
terelius
https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.h File webrtc/modules/pacing/alr_detector.h (right): https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.h#newcode61 webrtc/modules/pacing/alr_detector.h:61: static constexpr int kDefaultAlrStopBudgetLevelPercent = -20; On 2017/07/07 09:36:15, ...
3 years, 5 months ago (2017-07-07 10:00:54 UTC) #14
philipel
https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.cc File webrtc/modules/pacing/alr_detector.cc (right): https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.cc#newcode46 webrtc/modules/pacing/alr_detector.cc:46: alr_budget_.IncreaseBudget(delta_time_ms); Not sure if it matters, but wont calling ...
3 years, 5 months ago (2017-07-10 11:41:06 UTC) #15
tschumi
https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.cc File webrtc/modules/pacing/alr_detector.cc (right): https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/alr_detector.cc#newcode46 webrtc/modules/pacing/alr_detector.cc:46: alr_budget_.IncreaseBudget(delta_time_ms); I could do it the other way around ...
3 years, 5 months ago (2017-07-11 09:33:32 UTC) #16
philipel
lgtm % comments https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/interval_budget.cc File webrtc/modules/pacing/interval_budget.cc (right): https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/interval_budget.cc#newcode36 webrtc/modules/pacing/interval_budget.cc:36: void IntervalBudget::IncreaseBudget(int64_t delta_time_ms) { On 2017/07/11 ...
3 years, 5 months ago (2017-07-11 12:29:06 UTC) #17
tschumi
https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/interval_budget.cc File webrtc/modules/pacing/interval_budget.cc (right): https://codereview.webrtc.org/2965233002/diff/20001/webrtc/modules/pacing/interval_budget.cc#newcode36 webrtc/modules/pacing/interval_budget.cc:36: void IntervalBudget::IncreaseBudget(int64_t delta_time_ms) { On 2017/07/11 12:29:05, philipel wrote: ...
3 years, 5 months ago (2017-07-11 12:43:35 UTC) #18
tschumi
@Erik: Can you take a look at the full_stack_tests ?
3 years, 5 months ago (2017-07-11 12:47:27 UTC) #20
sprang_webrtc
lgtm
3 years, 5 months ago (2017-07-11 12:54:03 UTC) #21
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/2965233002/80001
3 years, 5 months ago (2017-07-11 13:53:24 UTC) #32
commit-bot: I haz the power
3 years, 5 months ago (2017-07-11 13:56:14 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/82c5593cb6a04cef829a0924f...

Powered by Google App Engine
This is Rietveld 408576698