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

Issue 2637783003: Move congestion controller processing to the pacer thread. (Closed)

Created:
3 years, 11 months ago by nisse-webrtc
Modified:
3 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move congestion controller processing to the pacer thread. Also rename it from pacer_thread_ to congestion_controller_thread_. BUG=webrtc:6847 Review-Url: https://codereview.webrtc.org/2637783003 Cr-Commit-Position: refs/heads/master@{#16134} Committed: https://chromium.googlesource.com/external/webrtc/+/b3dc2b7b1e02970c49064a61a4bd0fc941249c93

Patch Set 1 #

Patch Set 2 : Fixed method call order for AlrDetector. #

Total comments: 4

Patch Set 3 : Use C++11 std::min with initializer list. #

Total comments: 6

Patch Set 4 : Clarify TODO item. #

Patch Set 5 : Reorder calls in CongestionController::Process. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -18 lines) Patch
M webrtc/call/call.cc View 4 chunks +7 lines, -12 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M webrtc/modules/pacing/alr_detector.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
nisse-webrtc
3 years, 11 months ago (2017-01-16 15:15:06 UTC) #2
stefan-webrtc
lgtm https://codereview.webrtc.org/2637783003/diff/20001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2637783003/diff/20001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode337 webrtc/modules/congestion_controller/congestion_controller.cc:337: // TODO(nisse): I think this is C++11. Ok? ...
3 years, 11 months ago (2017-01-16 15:42:46 UTC) #3
nisse-webrtc
https://codereview.webrtc.org/2637783003/diff/20001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2637783003/diff/20001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode337 webrtc/modules/congestion_controller/congestion_controller.cc:337: // TODO(nisse): I think this is C++11. Ok? On ...
3 years, 11 months ago (2017-01-16 16:14:03 UTC) #4
danilchap
https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode342 webrtc/modules/congestion_controller/congestion_controller.cc:342: MaybeTriggerOnNetworkChanged(); look like it is this function that SetEstimatedBitrate. ...
3 years, 11 months ago (2017-01-16 17:09:39 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode342 webrtc/modules/congestion_controller/congestion_controller.cc:342: MaybeTriggerOnNetworkChanged(); On 2017/01/16 17:09:39, danilchap wrote: > look like ...
3 years, 11 months ago (2017-01-17 07:42:39 UTC) #6
stefan-webrtc
https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode342 webrtc/modules/congestion_controller/congestion_controller.cc:342: MaybeTriggerOnNetworkChanged(); On 2017/01/17 07:42:39, nisse-webrtc wrote: > On 2017/01/16 ...
3 years, 11 months ago (2017-01-17 07:59:54 UTC) #7
nisse-webrtc
https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc File webrtc/modules/congestion_controller/congestion_controller.cc (right): https://codereview.webrtc.org/2637783003/diff/40001/webrtc/modules/congestion_controller/congestion_controller.cc#newcode342 webrtc/modules/congestion_controller/congestion_controller.cc:342: MaybeTriggerOnNetworkChanged(); On 2017/01/17 07:59:54, stefan-webrtc wrote: > On 2017/01/17 ...
3 years, 11 months ago (2017-01-17 08:39:35 UTC) #8
danilchap
lgtm
3 years, 11 months ago (2017-01-17 08:57:22 UTC) #9
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/2637783003/80001
3 years, 11 months ago (2017-01-17 08:58:37 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_msan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/16762)
3 years, 11 months ago (2017-01-17 10:44:01 UTC) #14
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/2637783003/80001
3 years, 11 months ago (2017-01-18 08:08:35 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/external/webrtc/+/b3dc2b7b1e02970c49064a61a4bd0fc941249c93
3 years, 11 months ago (2017-01-18 08:10:36 UTC) #19
nisse-webrtc
3 years, 11 months ago (2017-01-19 12:25:12 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.webrtc.org/2644603003/ by nisse@webrtc.org.

The reason for reverting is: Speculative revert for perf regression related to
ramp-up on android. See
https://bugs.chromium.org/p/chromium/issues/detail?id=682611.

Powered by Google App Engine
This is Rietveld 408576698