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

Issue 2381833003: Change TWCC send interval to reduce overhead on low BW situations. (Closed)

Created:
4 years, 2 months ago by michaelt
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change TWCC send interval to reduce overhead on low BW situations. BUG=webrtc:6442 Committed: https://crrev.com/861e9374640eaa37ba5d905e3e0971df04b4fc9e Cr-Commit-Position: refs/heads/master@{#14910}

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 2

Patch Set 3 : Change TWCC send interval according to the available bandwidth. #

Total comments: 5

Patch Set 4 : fix unit-test build #

Total comments: 18

Patch Set 5 : response to comments #

Patch Set 6 : Changed average size of TWCC report. #

Patch Set 7 : Response to comments #

Total comments: 2

Patch Set 8 : Added a lock for bitrate_bps. #

Patch Set 9 : Move send interval calc. to OnBitrateChanged. #

Total comments: 2

Patch Set 10 : fix nit's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -8 lines) Patch
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc View 1 2 3 4 5 6 7 8 9 5 chunks +28 lines, -6 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +32 lines, -1 line 0 comments Download

Messages

Total messages: 49 (27 generated)
michaelt
4 years, 2 months ago (2016-10-12 07:08:44 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/2381833003/diff/20001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/20001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode29 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:29: const int RemoteEstimatorProxy::kSwitchToHighBitrateProcessIntervalBps = 100000; I'm starting to lean ...
4 years, 2 months ago (2016-10-17 18:55:22 UTC) #16
michaelt
I change the concept of the impl. because when i was rethinking this, i became ...
4 years, 2 months ago (2016-10-20 08:47:12 UTC) #17
minyue-webrtc
https://codereview.webrtc.org/2381833003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode77 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:77: int64_t RemoteEstimatorProxy::TimeUntilNextProcess() { general question: should we update send_interval_ms ...
4 years, 1 month ago (2016-10-26 10:11:35 UTC) #27
stefan-webrtc
https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode83 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:83: // Ipv4(20B) + UDP(8B) + SRTP(4B) + AverageTwccReport(20B) Is ...
4 years, 1 month ago (2016-10-26 14:45:16 UTC) #28
michaelt
https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode83 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:83: // Ipv4(20B) + UDP(8B) + SRTP(4B) + AverageTwccReport(20B) No ...
4 years, 1 month ago (2016-10-27 15:15:45 UTC) #29
minyue-webrtc
Hi Michael, I had some comments, good to take a look.
4 years, 1 month ago (2016-10-28 07:34:06 UTC) #30
stefan-webrtc
https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode83 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:83: // Ipv4(20B) + UDP(8B) + SRTP(4B) + AverageTwccReport(20B) On ...
4 years, 1 month ago (2016-10-31 08:54:36 UTC) #31
michaelt
https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode83 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:83: // Ipv4(20B) + UDP(8B) + SRTP(4B) + AverageTwccReport(20B) Did ...
4 years, 1 month ago (2016-10-31 13:03:15 UTC) #32
stefan-webrtc
https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode83 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:83: // Ipv4(20B) + UDP(8B) + SRTP(4B) + AverageTwccReport(20B) On ...
4 years, 1 month ago (2016-10-31 14:04:19 UTC) #33
michaelt
https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/80001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode83 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:83: // Ipv4(20B) + UDP(8B) + SRTP(4B) + AverageTwccReport(20B) On ...
4 years, 1 month ago (2016-11-02 10:10:07 UTC) #34
stefan-webrtc
lg, but we need to ensure the thread safety... https://codereview.webrtc.org/2381833003/diff/140001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/140001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode113 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:113: ...
4 years, 1 month ago (2016-11-02 13:10:24 UTC) #35
michaelt
The function are not called from the same thread. Added a lock. https://codereview.webrtc.org/2381833003/diff/140001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc ...
4 years, 1 month ago (2016-11-02 14:28:02 UTC) #36
stefan-webrtc
lgtm
4 years, 1 month ago (2016-11-02 14:39:54 UTC) #37
michaelt
https://codereview.webrtc.org/2381833003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode77 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:77: int64_t RemoteEstimatorProxy::TimeUntilNextProcess() { On 2016/10/26 10:11:35, minyue-webrtc wrote: > ...
4 years, 1 month ago (2016-11-03 10:20:20 UTC) #38
stefan-webrtc
lgtm % nit https://codereview.webrtc.org/2381833003/diff/180001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h (right): https://codereview.webrtc.org/2381833003/diff/180001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h#newcode76 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h:76: int send_interval_ms_ GUARDED_BY(&lock_); int64_t for time
4 years, 1 month ago (2016-11-03 10:28:43 UTC) #39
minyue-webrtc
lgtm https://codereview.webrtc.org/2381833003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc (right): https://codereview.webrtc.org/2381833003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc#newcode77 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc:77: int64_t RemoteEstimatorProxy::TimeUntilNextProcess() { On 2016/11/03 10:20:20, michaelt wrote: ...
4 years, 1 month ago (2016-11-03 10:39:38 UTC) #40
michaelt
https://codereview.webrtc.org/2381833003/diff/180001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h File webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h (right): https://codereview.webrtc.org/2381833003/diff/180001/webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h#newcode76 webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h:76: int send_interval_ms_ GUARDED_BY(&lock_); On 2016/11/03 10:28:43, stefan-webrtc (holmer) wrote: ...
4 years, 1 month ago (2016-11-03 12:36:53 UTC) #41
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/2381833003/200001
4 years, 1 month ago (2016-11-03 12:37:11 UTC) #44
commit-bot: I haz the power
Committed patchset #10 (id:200001)
4 years, 1 month ago (2016-11-03 13:02:21 UTC) #46
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/861e9374640eaa37ba5d905e3e0971df04b4fc9e Cr-Commit-Position: refs/heads/master@{#14910}
4 years, 1 month ago (2016-11-03 13:02:25 UTC) #48
ivoc
4 years, 1 month ago (2016-11-04 16:22:23 UTC) #49
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:200001) has been created in
https://codereview.webrtc.org/2468413009/ by ivoc@webrtc.org.

The reason for reverting is: Breaks internal tests..

Powered by Google App Engine
This is Rietveld 408576698