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

Issue 2380883003: Add interval estimator to remote bitrate estimator (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

Add interval estimator to remote bitrate estimator. To be able to smooth the bandwidth estimation according to the probing interval. BUG=webrtc:6443 Committed: https://crrev.com/4a4b3cfc01d265f8708f3010214c04c51cbcaff7 Cr-Commit-Position: refs/heads/master@{#15123}

Patch Set 1 #

Patch Set 2 : Rebased and changed gtest includes #

Patch Set 3 : Simplify probing estimator. #

Total comments: 6

Patch Set 4 : Response to an offline discussion. #

Total comments: 14

Patch Set 5 : Respond to comments. #

Patch Set 6 : Move probing interval estimator to congestion controller. #

Total comments: 4

Patch Set 7 : Respond to comments. #

Total comments: 32

Patch Set 8 : Respond to comments. #

Total comments: 5

Patch Set 9 : Respond to comments. #

Patch Set 10 : Fix gyp files. #

Patch Set 11 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -37 lines) Patch
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A webrtc/modules/congestion_controller/probing_interval_estimator.h View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
A webrtc/modules/congestion_controller/probing_interval_estimator.cc View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
A webrtc/modules/congestion_controller/probing_interval_estimator_unittest.cc View 1 2 3 4 5 6 7 1 chunk +87 lines, -0 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +27 lines, -21 lines 0 comments Download
A webrtc/modules/remote_bitrate_estimator/aimd_rate_control_unittest.cc View 1 2 3 4 5 6 7 1 chunk +92 lines, -0 lines 0 comments Download
A + webrtc/modules/remote_bitrate_estimator/include/mock/mock_aimd_rate_control.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -10 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 79 (48 generated)
stefan-webrtc
FYI, you have to press "Publish" for the reviewers to get notified. It's not enough ...
4 years, 2 months ago (2016-09-30 14:00:51 UTC) #14
minyue-webrtc
Hi Stefan, Michael is on vacation but he told me that this CL is ready ...
4 years, 2 months ago (2016-10-03 06:50:40 UTC) #15
stefan-webrtc
A few main questions before I go ahead and review the details: 1. Have you ...
4 years, 2 months ago (2016-10-03 07:43:59 UTC) #16
michaelt
1. Yes we have considered this, it was actually our first solution we implemented. The ...
4 years, 2 months ago (2016-10-10 08:27:19 UTC) #18
michaelt
4 years, 2 months ago (2016-10-10 13:37:51 UTC) #21
michaelt
Uploaded a strongly simplified version of the probing interval estimator.
4 years, 1 month ago (2016-10-25 09:42:56 UTC) #23
stefan-webrtc
https://codereview.webrtc.org/2380883003/diff/40001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc (right): https://codereview.webrtc.org/2380883003/diff/40001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc#newcode179 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc:179: (now_ms - *last_near_max_increase_rate_update_)); An alternative to this would be ...
4 years, 1 month ago (2016-10-26 14:30:06 UTC) #28
michaelt
https://codereview.webrtc.org/2380883003/diff/40001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc (right): https://codereview.webrtc.org/2380883003/diff/40001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc#newcode179 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc:179: (now_ms - *last_near_max_increase_rate_update_)); On 2016/10/26 14:30:06, stefan-webrtc (holmer) wrote: ...
4 years, 1 month ago (2016-10-31 11:10:23 UTC) #29
stefan-webrtc
https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc (right): https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc#newcode140 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc:140: constexpr double kMinIncreaseRateBps = 4000; 4000 is larger than ...
4 years, 1 month ago (2016-11-08 13:06:28 UTC) #43
michaelt
https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc (right): https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc#newcode140 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc:140: constexpr double kMinIncreaseRateBps = 4000; No its actually smaller. ...
4 years, 1 month ago (2016-11-09 07:54:45 UTC) #44
stefan-webrtc
Who will own the probing interval estimator? I would have expected it to live in ...
4 years, 1 month ago (2016-11-09 18:01:11 UTC) #45
michaelt
On 2016/11/09 18:01:11, stefan-webrtc (holmer) wrote: > Who will own the probing interval estimator? I ...
4 years, 1 month ago (2016-11-10 08:57:18 UTC) #46
michaelt
https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc (right): https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc#newcode140 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc:140: constexpr double kMinIncreaseRateBps = 4000; On 2016/11/09 18:01:10, stefan-webrtc ...
4 years, 1 month ago (2016-11-10 08:57:31 UTC) #47
stefan-webrtc
lgtm % nits https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc (right): https://codereview.webrtc.org/2380883003/diff/80001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc#newcode140 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc:140: constexpr double kMinIncreaseRateBps = 4000; On ...
4 years, 1 month ago (2016-11-14 14:53:48 UTC) #48
michaelt
https://codereview.webrtc.org/2380883003/diff/120001/webrtc/modules/congestion_controller/probing_interval_estimator.cc File webrtc/modules/congestion_controller/probing_interval_estimator.cc (right): https://codereview.webrtc.org/2380883003/diff/120001/webrtc/modules/congestion_controller/probing_interval_estimator.cc#newcode38 webrtc/modules/congestion_controller/probing_interval_estimator.cc:38: rtc::Optional<int> drop_hight = aimd_rate_control_->GetLastDecrease(); On 2016/11/14 14:53:48, stefan-webrtc (holmer) ...
4 years, 1 month ago (2016-11-14 15:35:10 UTC) #49
minyue-webrtc
Hi, I trust on the way quantities are calculated. As a reader, I found it ...
4 years, 1 month ago (2016-11-14 16:50:42 UTC) #50
michaelt
https://codereview.webrtc.org/2380883003/diff/140001/webrtc/modules/congestion_controller/probing_interval_estimator.cc File webrtc/modules/congestion_controller/probing_interval_estimator.cc (right): https://codereview.webrtc.org/2380883003/diff/140001/webrtc/modules/congestion_controller/probing_interval_estimator.cc#newcode24 webrtc/modules/congestion_controller/probing_interval_estimator.cc:24: const AimdRateControl* const aimd_rate_control) On 2016/11/14 16:50:42, minyue-webrtc wrote: ...
4 years, 1 month ago (2016-11-15 09:42:00 UTC) #51
minyue-webrtc
LG % nit https://codereview.webrtc.org/2380883003/diff/140001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h (right): https://codereview.webrtc.org/2380883003/diff/140001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h#newcode45 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h:45: virtual int GetNearMaxIncreaseRateBps() const; On 2016/11/15 ...
4 years, 1 month ago (2016-11-15 12:20:36 UTC) #52
michaelt
https://codereview.webrtc.org/2380883003/diff/160001/webrtc/modules/congestion_controller/probing_interval_estimator.cc File webrtc/modules/congestion_controller/probing_interval_estimator.cc (right): https://codereview.webrtc.org/2380883003/diff/160001/webrtc/modules/congestion_controller/probing_interval_estimator.cc#newcode38 webrtc/modules/congestion_controller/probing_interval_estimator.cc:38: rtc::Optional<int> drop_height = On 2016/11/15 12:20:36, minyue-webrtc wrote: > ...
4 years, 1 month ago (2016-11-15 13:08:15 UTC) #53
minyue-webrtc
lgtm https://codereview.webrtc.org/2380883003/diff/160001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc File webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc (right): https://codereview.webrtc.org/2380883003/diff/160001/webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc#newcode257 webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc:257: return (now_ms - last_ms) * GetNearMaxIncreaseRateBps() / 1000; ...
4 years, 1 month ago (2016-11-16 08:54:03 UTC) #54
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/2380883003/180001
4 years, 1 month ago (2016-11-16 08:58:38 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/16127)
4 years, 1 month ago (2016-11-16 09:04:45 UTC) #59
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/2380883003/200001
4 years, 1 month ago (2016-11-16 11:33:46 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: linux_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_baremetal/builds/15972)
4 years, 1 month ago (2016-11-16 11:37:01 UTC) #64
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/2380883003/200001
4 years, 1 month ago (2016-11-16 21:16:06 UTC) #66
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/12924) win_baremetal on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 1 month ago (2016-11-16 21:18:36 UTC) #68
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/2380883003/200001
4 years, 1 month ago (2016-11-17 08:27:20 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/12941)
4 years, 1 month ago (2016-11-17 08:29:10 UTC) #72
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/2380883003/220001
4 years, 1 month ago (2016-11-17 08:53:42 UTC) #75
commit-bot: I haz the power
Committed patchset #11 (id:220001)
4 years, 1 month ago (2016-11-17 09:18:47 UTC) #77
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 09:19:11 UTC) #79
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/4a4b3cfc01d265f8708f3010214c04c51cbcaff7
Cr-Commit-Position: refs/heads/master@{#15123}

Powered by Google App Engine
This is Rietveld 408576698