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

Issue 2970653004: Reimplemeted "Test and fix for huge bwe drop after alr state" (Closed)

Created:
3 years, 5 months ago by tschumi
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), zhuangzesen_agora.io, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reimplemeted "Test and fix for huge bwe drop after alr state" BUG=webrtc:7746 Test and fix for huge bwe drop after alr state. BUG=webrtc:7746 Review-Url: https://codereview.webrtc.org/2931873002 Cr-Commit-Position: refs/heads/master@{#18692} Committed: https://chromium.googlesource.com/external/webrtc/+/37aa8ba61641962119071646175bfe3bc2bda063 patch from issue 2931873002 at patchset 320001 (http://crrev.com/2931873002#ps320001) Review-Url: https://codereview.webrtc.org/2970653004 Cr-Commit-Position: refs/heads/master@{#19055} Committed: https://chromium.googlesource.com/external/webrtc/+/9d117643449bfbac79dc5b3b1c7920f6bf93ee82

Patch Set 1 #

Total comments: 11

Patch Set 2 : Response to comments. #

Total comments: 5

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : Rebased. #

Patch Set 5 : Response to comments #

Total comments: 4

Patch Set 6 : Respond to comments. #

Patch Set 7 : Fix uninitialized variable #

Total comments: 12

Patch Set 8 : Respond to comments. #

Patch Set 9 : Removed class forwarding. #

Total comments: 4

Patch Set 10 : Respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+536 lines, -208 lines) Patch
A resources/voice_engine/audio_dtx16.wav.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/audio/BUILD.gn View 1 2 3 3 chunks +39 lines, -0 lines 0 comments Download
A webrtc/audio/test/audio_bwe_integration_test.h View 1 chunk +53 lines, -0 lines 0 comments Download
A webrtc/audio/test/audio_bwe_integration_test.cc View 1 2 3 4 1 chunk +151 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/BUILD.gn View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
D webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h View 1 2 3 1 chunk +0 lines, -48 lines 0 comments Download
D webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.cc View 1 chunk +0 lines, -115 lines 0 comments Download
A webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.h View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A webrtc/modules/congestion_controller/acknowledged_bitrate_estimator_unittest.cc View 1 2 3 4 1 chunk +134 lines, -0 lines 0 comments Download
A + webrtc/modules/congestion_controller/bitrate_estimator.h View 1 2 3 3 chunks +10 lines, -12 lines 0 comments Download
A + webrtc/modules/congestion_controller/bitrate_estimator.cc View 1 2 4 chunks +14 lines, -22 lines 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/congestion_controller/include/send_side_congestion_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/send_side_congestion_controller.cc View 1 2 3 4 5 6 7 8 9 3 chunks +13 lines, -2 lines 0 comments Download
M webrtc/modules/pacing/alr_detector.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/pacing/alr_detector_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 62 (36 generated)
tschumi
Here is the re-implementation of the dtx problem fix.
3 years, 5 months ago (2017-07-05 06:32:18 UTC) #7
stefan-webrtc
https://codereview.webrtc.org/2970653004/diff/1/webrtc/audio/test/audio_bwe_integration_test.cc File webrtc/audio/test/audio_bwe_integration_test.cc (right): https://codereview.webrtc.org/2970653004/diff/1/webrtc/audio/test/audio_bwe_integration_test.cc#newcode60 webrtc/audio/test/audio_bwe_integration_test.cc:60: SleepMs(GetNetworkPipeConfig().queue_delay_ms); +1000 to ensure that data in the receiver's ...
3 years, 5 months ago (2017-07-06 15:28:39 UTC) #8
tschumi
https://codereview.webrtc.org/2970653004/diff/1/webrtc/audio/test/audio_bwe_integration_test.cc File webrtc/audio/test/audio_bwe_integration_test.cc (right): https://codereview.webrtc.org/2970653004/diff/1/webrtc/audio/test/audio_bwe_integration_test.cc#newcode60 webrtc/audio/test/audio_bwe_integration_test.cc:60: SleepMs(GetNetworkPipeConfig().queue_delay_ms); Ok https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/bitrate_estimator.cc File webrtc/modules/congestion_controller/bitrate_estimator.cc (right): https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/bitrate_estimator.cc#newcode102 webrtc/modules/congestion_controller/bitrate_estimator.cc:102: if ...
3 years, 5 months ago (2017-07-07 07:51:14 UTC) #9
holmer
lgtm https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode282 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:282: static_cast<bool>(pacer_->GetApplicationLimitedRegionStartTime())); On 2017/07/07 07:51:14, tschumi wrote: > GetApplicationLimitedRegionStartTime ...
3 years, 5 months ago (2017-07-07 07:53:07 UTC) #11
terelius
https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode282 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:282: static_cast<bool>(pacer_->GetApplicationLimitedRegionStartTime())); On 2017/07/07 07:53:06, holmer wrote: > On 2017/07/07 ...
3 years, 5 months ago (2017-07-07 08:01:19 UTC) #12
holmer
https://codereview.webrtc.org/2970653004/diff/20001/webrtc/modules/congestion_controller/bitrate_estimator.cc File webrtc/modules/congestion_controller/bitrate_estimator.cc (right): https://codereview.webrtc.org/2970653004/diff/20001/webrtc/modules/congestion_controller/bitrate_estimator.cc#newcode104 webrtc/modules/congestion_controller/bitrate_estimator.cc:104: bitrate_estimate_var_ = 200; On 2017/07/07 08:01:19, terelius wrote: > ...
3 years, 5 months ago (2017-07-07 08:08:00 UTC) #13
tschumi
https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2970653004/diff/1/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode282 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:282: static_cast<bool>(pacer_->GetApplicationLimitedRegionStartTime())); Ok use has_value() now. https://codereview.webrtc.org/2970653004/diff/20001/webrtc/modules/congestion_controller/bitrate_estimator.cc File webrtc/modules/congestion_controller/bitrate_estimator.cc (right): ...
3 years, 5 months ago (2017-07-07 09:07:59 UTC) #14
terelius
https://codereview.webrtc.org/2970653004/diff/40001/webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc File webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc (right): https://codereview.webrtc.org/2970653004/diff/40001/webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc#newcode57 webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc:57: void AcknowledgedBitrateEstimator::CheckAlrEndTime(bool currently_in_alr) { How about bool currently_in_alr = ...
3 years, 5 months ago (2017-07-11 20:54:19 UTC) #15
tschumi
https://codereview.webrtc.org/2970653004/diff/40001/webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc File webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc (right): https://codereview.webrtc.org/2970653004/diff/40001/webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc#newcode57 webrtc/modules/congestion_controller/acknowledged_bitrate_estimator.cc:57: void AcknowledgedBitrateEstimator::CheckAlrEndTime(bool currently_in_alr) { Impl. according to offline discussion. ...
3 years, 5 months ago (2017-07-13 09:05:07 UTC) #16
terelius
https://codereview.webrtc.org/2970653004/diff/80001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2970653004/diff/80001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode284 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:284: if (alr_state_->ChangeWhenAlrStartTimeIs( I don't like this name. Is is ...
3 years, 5 months ago (2017-07-13 10:46:01 UTC) #17
tschumi
https://codereview.webrtc.org/2970653004/diff/80001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2970653004/diff/80001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode284 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:284: if (alr_state_->ChangeWhenAlrStartTimeIs( On 2017/07/13 10:46:01, terelius wrote: > I ...
3 years, 5 months ago (2017-07-13 11:54:35 UTC) #18
terelius
lgtm Thanks!
3 years, 5 months ago (2017-07-13 12:27:53 UTC) #19
tschumi
@philipel: Can you take a look at the changes regarding the pacer ?
3 years, 5 months ago (2017-07-13 12:43:50 UTC) #28
tschumi
@ossu: Can you take a look at the audio_bwe_integration_test ?
3 years, 5 months ago (2017-07-13 12:51:00 UTC) #30
ossu
Can't really say much about the applicability of this test, so I defer to the ...
3 years, 5 months ago (2017-07-13 14:31:44 UTC) #35
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/2970653004/120001
3 years, 5 months ago (2017-07-14 13:20:13 UTC) #40
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/19283)
3 years, 5 months ago (2017-07-14 13:26:33 UTC) #42
philipel
https://codereview.webrtc.org/2970653004/diff/120001/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h File webrtc/modules/congestion_controller/include/send_side_congestion_controller.h (right): https://codereview.webrtc.org/2970653004/diff/120001/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h#newcode158 webrtc/modules/congestion_controller/include/send_side_congestion_controller.h:158: const std::unique_ptr<AlrState> alr_state_; No need for this to be ...
3 years, 5 months ago (2017-07-14 13:56:23 UTC) #43
tschumi
https://codereview.webrtc.org/2970653004/diff/120001/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h File webrtc/modules/congestion_controller/include/send_side_congestion_controller.h (right): https://codereview.webrtc.org/2970653004/diff/120001/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h#newcode158 webrtc/modules/congestion_controller/include/send_side_congestion_controller.h:158: const std::unique_ptr<AlrState> alr_state_; Removed AlrState https://codereview.webrtc.org/2970653004/diff/120001/webrtc/modules/pacing/alr_detector.cc File webrtc/modules/pacing/alr_detector.cc (right): ...
3 years, 5 months ago (2017-07-14 15:36:51 UTC) #44
terelius
https://codereview.webrtc.org/2970653004/diff/160001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2970653004/diff/160001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode284 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:284: rtc::Optional<int64_t> alr_start_time_ms = If we are never going to ...
3 years, 5 months ago (2017-07-14 15:44:52 UTC) #45
philipel
lgtm for webrtc/modules/pacing* with one comment https://codereview.webrtc.org/2970653004/diff/160001/webrtc/modules/pacing/paced_sender.h File webrtc/modules/pacing/paced_sender.h (left): https://codereview.webrtc.org/2970653004/diff/160001/webrtc/modules/pacing/paced_sender.h#oldcode135 webrtc/modules/pacing/paced_sender.h:135: // traffic to ...
3 years, 5 months ago (2017-07-14 15:56:28 UTC) #46
tschumi
https://codereview.webrtc.org/2970653004/diff/160001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc File webrtc/modules/congestion_controller/send_side_congestion_controller.cc (right): https://codereview.webrtc.org/2970653004/diff/160001/webrtc/modules/congestion_controller/send_side_congestion_controller.cc#newcode284 webrtc/modules/congestion_controller/send_side_congestion_controller.cc:284: rtc::Optional<int64_t> alr_start_time_ms = On 2017/07/14 15:44:52, terelius wrote: > ...
3 years, 5 months ago (2017-07-17 06:41:05 UTC) #49
tschumi
@Henrik: Hi, Can you take a look at the change in webrtc/BUILD.gn ?
3 years, 5 months ago (2017-07-17 06:46:45 UTC) #51
henrika_webrtc
lgtm
3 years, 5 months ago (2017-07-17 07:51:51 UTC) #52
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/2970653004/220001
3 years, 5 months ago (2017-07-17 08:38:57 UTC) #59
commit-bot: I haz the power
3 years, 5 months ago (2017-07-17 08:41:50 UTC) #62
Message was sent while issue was closed.
Committed patchset #10 (id:220001) as
https://chromium.googlesource.com/external/webrtc/+/9d117643449bfbac79dc5b3b1...

Powered by Google App Engine
This is Rietveld 408576698