Chromium Code Reviews

Issue 1699903003: Update bitrate only when we have incoming packet. (Closed)

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

Description

Update bitrate only when we have incoming packet. Also cleans up some unused code and makes sure the min bitrate of the BWE can't be set to anything lower than 10 kbps. BUG=webrtc:5474 R=pbos@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/62a5ccdb532cfa1256c3a5860bfe087569481d24

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Clean-up #

Total comments: 17

Patch Set 4 : comments addressed. #

Patch Set 5 : Remove unused Id() method #

Total comments: 1

Patch Set 6 : ... #

Patch Set 7 : Fix lint #

Unified diffs Side-by-side diffs Stats (+155 lines, -318 lines)
M webrtc/call/congestion_controller.cc View 3 chunks +12 lines, -6 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h View 2 chunks +0 lines, -24 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h View 2 chunks +25 lines, -34 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc View 12 chunks +99 lines, -147 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_unittest.cc View 2 chunks +9 lines, -13 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc View 1 chunk +0 lines, -6 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc View 1 chunk +1 line, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h View 1 chunk +0 lines, -2 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc View 3 chunks +6 lines, -73 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h View 1 chunk +1 line, -2 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc View 2 chunks +2 lines, -8 lines 0 comments

Messages

Total messages: 31 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699903003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699903003/1
4 years, 10 months ago (2016-02-16 10:01:06 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_gn_dbg/builds/8764) ios32_sim_dbg on ...
4 years, 10 months ago (2016-02-16 10:01:53 UTC) #4
stefan-webrtc
Rebase
4 years, 10 months ago (2016-02-16 12:43:34 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699903003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699903003/20001
4 years, 10 months ago (2016-02-16 12:44:58 UTC) #7
stefan-webrtc
Clean-up
4 years, 10 months ago (2016-02-16 13:15:10 UTC) #8
stefan-webrtc
https://codereview.webrtc.org/1699903003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc File webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc (left): https://codereview.webrtc.org/1699903003/diff/40001/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc#oldcode263 webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc:263: EXPECT_LE(bitrate_observer_->latest_bitrate(), bitrate_bps); It is still possible that we have ...
4 years, 10 months ago (2016-02-16 13:15:39 UTC) #10
pbos-webrtc
https://codereview.webrtc.org/1699903003/diff/40001/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1699903003/diff/40001/webrtc/call/congestion_controller.cc#newcode193 webrtc/call/congestion_controller.cc:193: // The congestion controller should allow a min bitrate ...
4 years, 10 months ago (2016-02-16 13:44:34 UTC) #12
stefan-webrtc
comments addressed.
4 years, 10 months ago (2016-02-16 14:54:27 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/1699903003/diff/40001/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1699903003/diff/40001/webrtc/call/congestion_controller.cc#newcode193 webrtc/call/congestion_controller.cc:193: // The congestion controller should allow a min bitrate ...
4 years, 10 months ago (2016-02-16 14:57:16 UTC) #14
stefan-webrtc
Remove unused Id() method
4 years, 10 months ago (2016-02-16 14:58:55 UTC) #15
pbos-webrtc
lgtm https://codereview.webrtc.org/1699903003/diff/80001/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1699903003/diff/80001/webrtc/call/congestion_controller.cc#newcode198 webrtc/call/congestion_controller.cc:198: max_bitrate_bps = std::max(min_bitrate_bps, max_bitrate_bps); I think this should ...
4 years, 10 months ago (2016-02-16 15:23:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699903003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699903003/80001
4 years, 10 months ago (2016-02-16 15:26:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_compile_dbg/builds/3072) win_x64_gn_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 10 months ago (2016-02-16 15:28:24 UTC) #20
stefan-webrtc
...
4 years, 10 months ago (2016-02-16 15:52:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699903003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699903003/100001
4 years, 10 months ago (2016-02-16 15:53:59 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/3466)
4 years, 10 months ago (2016-02-16 15:57:40 UTC) #26
stefan-webrtc
Fix lint
4 years, 10 months ago (2016-02-16 16:06:27 UTC) #27
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/62a5ccdb532cfa1256c3a5860bfe087569481d24 Cr-Commit-Position: refs/heads/master@{#11636}
4 years, 10 months ago (2016-02-16 16:07:36 UTC) #29
stefan-webrtc
4 years, 10 months ago (2016-02-16 16:07:37 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
62a5ccdb532cfa1256c3a5860bfe087569481d24 (presubmit successful).

Powered by Google App Engine