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

Issue 2917873002: Refactored incoming bitrate estimator. (Closed)

Created:
3 years, 6 months ago by tschumi
Modified:
3 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Refactored incoming bitrate estimator. BUG=webrtc:7746 Review-Url: https://codereview.webrtc.org/2917873002 Cr-Commit-Position: refs/heads/master@{#18478} Committed: https://chromium.googlesource.com/external/webrtc/+/5fc8bf8b87495c225f5060760fa9d967b8dc9f9e

Patch Set 1 #

Total comments: 8

Patch Set 2 : Responsed to comments #

Total comments: 12

Patch Set 3 : Fix reset of AcknowledgedBitrateEstimator #

Total comments: 3

Patch Set 4 : Respons to comments #

Patch Set 5 : Respons to comments #

Total comments: 2

Patch Set 6 : Removed PacketFeedbackComparator from analyzer.cc #

Patch Set 7 : Fix for iso build #

Total comments: 6

Patch Set 8 : Respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -157 lines) Patch
M webrtc/modules/congestion_controller/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download
A webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc View 1 2 3 4 5 6 1 chunk +105 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe.h View 1 3 chunks +4 lines, -23 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe.cc View 1 2 3 7 chunks +12 lines, -113 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc View 1 4 chunks +10 lines, -2 lines 0 comments Download
M webrtc/modules/congestion_controller/include/send_side_congestion_controller.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/send_side_congestion_controller.cc View 1 2 3 4 5 6 7 5 chunks +31 lines, -3 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc View 1 3 chunks +7 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/tools/event_log_visualizer/analyzer.cc View 1 2 3 4 5 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 38 (18 generated)
tschumi
Hi, Here the prefix refactoring cl.
3 years, 6 months ago (2017-06-01 13:49:14 UTC) #3
terelius
https://codereview.webrtc.org/2917873002/diff/1/webrtc/modules/congestion_controller/incoming_bitrate_estimator.cc File webrtc/modules/congestion_controller/incoming_bitrate_estimator.cc (right): https://codereview.webrtc.org/2917873002/diff/1/webrtc/modules/congestion_controller/incoming_bitrate_estimator.cc#newcode27 webrtc/modules/congestion_controller/incoming_bitrate_estimator.cc:27: void IncomingBitrateEstimator::Update(int64_t now_ms, int bytes) { Has any part ...
3 years, 6 months ago (2017-06-01 15:15:04 UTC) #4
tschumi
Hi, I decided not to move out the loop to send_side_congestion_controller. The CL would have ...
3 years, 6 months ago (2017-06-02 11:48:44 UTC) #5
tschumi
https://codereview.webrtc.org/2917873002/diff/40001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2917873002/diff/40001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode182 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:182: acknowledged_bitrate_estimator_.reset( Should we write a test for this ?
3 years, 6 months ago (2017-06-02 12:08:04 UTC) #6
terelius
https://codereview.webrtc.org/2917873002/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc File webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc (right): https://codereview.webrtc.org/2917873002/diff/20001/webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc#newcode31 webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc:31: rtc::Optional<uint32_t>()); Do we have test coverage for the "typical" ...
3 years, 6 months ago (2017-06-02 12:14:06 UTC) #7
philipel
https://codereview.webrtc.org/2917873002/diff/20001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc File webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc (right): https://codereview.webrtc.org/2917873002/diff/20001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc#newcode29 webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc:29: for (const auto& packet : packet_feedback_vector) { remove {} ...
3 years, 6 months ago (2017-06-02 12:32:41 UTC) #8
tschumi
https://codereview.webrtc.org/2917873002/diff/20001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc File webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc (right): https://codereview.webrtc.org/2917873002/diff/20001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc#newcode29 webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc:29: for (const auto& packet : packet_feedback_vector) { On 2017/06/02 ...
3 years, 6 months ago (2017-06-02 13:13:05 UTC) #9
terelius
lgtm with one minor update: https://codereview.webrtc.org/2917873002/diff/80001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/2917873002/diff/80001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h#newcode350 webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:350: class PacketFeedbackComparator { Could ...
3 years, 6 months ago (2017-06-05 14:52:51 UTC) #10
philipel
lgtm
3 years, 6 months ago (2017-06-05 15:07:07 UTC) #11
tschumi
https://codereview.webrtc.org/2917873002/diff/80001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h File webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h (right): https://codereview.webrtc.org/2917873002/diff/80001/webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h#newcode350 webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h:350: class PacketFeedbackComparator { On 2017/06/05 14:52:51, terelius wrote: > ...
3 years, 6 months ago (2017-06-05 15:13:54 UTC) #12
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/2917873002/120001
3 years, 6 months ago (2017-06-07 07:01:40 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/17847)
3 years, 6 months ago (2017-06-07 07:05:41 UTC) #25
tschumi
Hi Stefan, I need a owner approval for this cl, because of the change in ...
3 years, 6 months ago (2017-06-07 07:22:17 UTC) #27
stefan-webrtc
https://codereview.webrtc.org/2917873002/diff/120001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h File webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h (right): https://codereview.webrtc.org/2917873002/diff/120001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h#newcode30 webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h:30: void IncomingPacketFeedbackVector( Empty line above to have ctors/dtors separated ...
3 years, 6 months ago (2017-06-07 09:56:32 UTC) #28
tschumi
https://codereview.webrtc.org/2917873002/diff/120001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h File webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h (right): https://codereview.webrtc.org/2917873002/diff/120001/webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h#newcode30 webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h:30: void IncomingPacketFeedbackVector( On 2017/06/07 09:56:31, stefan-webrtc wrote: > Empty ...
3 years, 6 months ago (2017-06-07 15:26:19 UTC) #29
stefan-webrtc
lgtm
3 years, 6 months ago (2017-06-07 15:27:18 UTC) #30
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/2917873002/140001
3 years, 6 months ago (2017-06-07 15:49:46 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/external/webrtc/+/5fc8bf8b87495c225f5060760fa9d967b8dc9f9e
3 years, 6 months ago (2017-06-07 16:48:26 UTC) #36
tschumim
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.webrtc.org/2924093002/ by tschumim@google.com. ...
3 years, 6 months ago (2017-06-07 18:48:36 UTC) #37
tschumi
3 years, 6 months ago (2017-06-08 07:10:12 UTC) #38
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.webrtc.org/2924243002/ by tschumim@webrtc.org.

The reason for reverting is: Breaks Vice tests.

Powered by Google App Engine
This is Rietveld 408576698