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

Issue 1704983002: Simplify CongestionController. (Closed)

Created:
4 years, 10 months ago by stefan-webrtc
Modified:
4 years, 10 months ago
Reviewers:
the sun, pbos-webrtc
CC:
webrtc-reviews_webrtc.org, zhuangzesen_agora.io, tlegrand-webrtc, tterriberry_mozilla.com, the sun, pbos-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Simplify CongestionController. - Removes the dependency on CallStats. - Implements Module interface so that we don't have to register each internal component to the process thread separately. R=pbos@webrtc.org, solenberg@webrtc.org Committed: https://crrev.com/789ba92e1462c4ad45dc13bec6616658df30c663 Cr-Commit-Position: refs/heads/master@{#11655}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Comments addressed. #

Patch Set 3 : . #

Total comments: 9

Patch Set 4 : Stack allocations where possible. #

Patch Set 5 : Comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -130 lines) Patch
M webrtc/audio/audio_receive_stream_unittest.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M webrtc/call/bitrate_estimator_tests.cc View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M webrtc/call/call.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M webrtc/call/congestion_controller.h View 1 2 3 3 chunks +26 lines, -26 lines 0 comments Download
M webrtc/call/congestion_controller.cc View 1 2 3 5 chunks +44 lines, -52 lines 0 comments Download
M webrtc/call/mock/mock_congestion_controller.h View 1 2 3 2 chunks +3 lines, -7 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.h View 1 2 3 4 1 chunk +11 lines, -13 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc View 1 chunk +1 line, -6 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter_unittest.cc View 3 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
stefan-webrtc
4 years, 10 months ago (2016-02-17 12:10:35 UTC) #2
pbos-webrtc
lgtm https://codereview.webrtc.org/1704983002/diff/1/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1704983002/diff/1/webrtc/call/congestion_controller.cc#newcode217 webrtc/call/congestion_controller.cc:217: if (transport_feedback_adapter_.get() == nullptr) { !transport_feedback_adapter_ https://codereview.webrtc.org/1704983002/diff/1/webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc File ...
4 years, 10 months ago (2016-02-17 12:17:12 UTC) #3
the sun
Very nice! https://codereview.webrtc.org/1704983002/diff/1/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1704983002/diff/1/webrtc/call/congestion_controller.cc#newcode213 webrtc/call/congestion_controller.cc:213: TransportFeedbackObserver* So, you may return a pointer ...
4 years, 10 months ago (2016-02-17 12:47:27 UTC) #4
stefan-webrtc
.
4 years, 10 months ago (2016-02-17 13:32:01 UTC) #5
stefan-webrtc
https://codereview.webrtc.org/1704983002/diff/1/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1704983002/diff/1/webrtc/call/congestion_controller.cc#newcode213 webrtc/call/congestion_controller.cc:213: TransportFeedbackObserver* On 2016/02/17 12:47:26, the sun wrote: > So, ...
4 years, 10 months ago (2016-02-17 13:32:48 UTC) #6
pbos-webrtc
ell gee tee emmm https://codereview.webrtc.org/1704983002/diff/40001/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1704983002/diff/40001/webrtc/call/congestion_controller.cc#newcode213 webrtc/call/congestion_controller.cc:213: } else { remove else ...
4 years, 10 months ago (2016-02-17 13:37:21 UTC) #7
the sun
LGTM % nits https://codereview.webrtc.org/1704983002/diff/40001/webrtc/call/bitrate_estimator_tests.cc File webrtc/call/bitrate_estimator_tests.cc (right): https://codereview.webrtc.org/1704983002/diff/40001/webrtc/call/bitrate_estimator_tests.cc#newcode270 webrtc/call/bitrate_estimator_tests.cc:270: receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); Unrelated? https://codereview.webrtc.org/1704983002/diff/40001/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): ...
4 years, 10 months ago (2016-02-17 13:50:55 UTC) #8
stefan-webrtc
Comments addressed.
4 years, 10 months ago (2016-02-17 14:14:07 UTC) #9
stefan-webrtc
https://codereview.webrtc.org/1704983002/diff/40001/webrtc/call/bitrate_estimator_tests.cc File webrtc/call/bitrate_estimator_tests.cc (right): https://codereview.webrtc.org/1704983002/diff/40001/webrtc/call/bitrate_estimator_tests.cc#newcode270 webrtc/call/bitrate_estimator_tests.cc:270: receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); On 2016/02/17 13:50:55, the sun wrote: > Unrelated? ...
4 years, 10 months ago (2016-02-17 14:14:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704983002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704983002/80001
4 years, 10 months ago (2016-02-17 14:14:47 UTC) #13
stefan-webrtc
Committed patchset #5 (id:80001) manually as 789ba92e1462c4ad45dc13bec6616658df30c663 (presubmit successful).
4 years, 10 months ago (2016-02-17 14:52:31 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 14:52:35 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/789ba92e1462c4ad45dc13bec6616658df30c663
Cr-Commit-Position: refs/heads/master@{#11655}

Powered by Google App Engine
This is Rietveld 408576698