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

Issue 2906663002: FecControler disables FEC when *below* threshold (Closed)

Created:
3 years, 7 months ago by eladalon
Modified:
3 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

FecControler disables FEC when *below* threshold (This CL concerns both the PLR-based as well as the RPLR-based versions of FecController.) 1. Make FecController disable only when below the disabling-threshold, so as to prevent toggling when the enabling-curve and the disabling-curve are identical. 2. Extend unit-test coverage accordingly. BUG=None Review-Url: https://codereview.webrtc.org/2906663002 Cr-Commit-Position: refs/heads/master@{#18337} Committed: https://chromium.googlesource.com/external/webrtc/+/cff9dfdc4ae6cd41d30e4d5bf5a2fe54807a6288

Patch Set 1 #

Total comments: 16

Patch Set 2 : s/0.00001/1e-5 #

Patch Set 3 : What happened here? Ignore this patchset. #

Patch Set 4 : 1. Replicate the change into PlrBased. 2. s/kPacketLoss/kRecoverablePacketLoss. 3. Add comments. #

Total comments: 4

Patch Set 5 : . #

Total comments: 17

Patch Set 6 : CR response #

Patch Set 7 : nit #

Total comments: 3

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -104 lines) Patch
M webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc View 1 2 3 4 5 6 7 8 chunks +187 lines, -39 lines 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc View 1 2 3 4 5 6 7 10 chunks +209 lines, -61 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
eladalon
I've only uploaded the RPLR-version. Once we've finished code-review, I'll upload the equivalent changes for ...
3 years, 7 months ago (2017-05-25 13:22:02 UTC) #3
eladalon
https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc (left): https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc#oldcode132 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc:132: TEST(FecControllerRplrBasedTest, OutputInitValueWhenUplinkBandwidthUnknown) { Small heads up here - text ...
3 years, 7 months ago (2017-05-25 13:24:11 UTC) #4
minyue-webrtc
Thanks for the work! Please think about changing the Enabling logic to strictly "Above" also? ...
3 years, 7 months ago (2017-05-26 06:30:06 UTC) #5
eladalon
Answered in-line. I'll replicate the change for PLR-based now, as it seems that no major ...
3 years, 6 months ago (2017-05-30 08:07:37 UTC) #6
minyue-webrtc
https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc (right): https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc#newcode72 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc:72: return config_.fec_disabling_threshold.IsBelowCurve( On 2017/05/30 08:07:36, eladalon wrote: > On ...
3 years, 6 months ago (2017-05-30 08:30:33 UTC) #7
eladalon
https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc (right): https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc#newcode72 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc:72: return config_.fec_disabling_threshold.IsBelowCurve( On 2017/05/30 08:30:32, minyue-webrtc wrote: > On ...
3 years, 6 months ago (2017-05-30 09:23:54 UTC) #8
minyue-webrtc
https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc (right): https://codereview.webrtc.org/2906663002/diff/1/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc#newcode72 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc:72: return config_.fec_disabling_threshold.IsBelowCurve( On 2017/05/30 09:23:54, eladalon wrote: > On ...
3 years, 6 months ago (2017-05-30 09:35:58 UTC) #9
eladalon
For posterity - the discussion was continued offline, and we've decided to keep the enabling ...
3 years, 6 months ago (2017-05-30 12:18:54 UTC) #10
minyue-webrtc
https://codereview.webrtc.org/2906663002/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc (right): https://codereview.webrtc.org/2906663002/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc#newcode256 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc:256: // Note: Disabling happens when the value is *below* ...
3 years, 6 months ago (2017-05-30 12:30:11 UTC) #11
eladalon
https://codereview.webrtc.org/2906663002/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc (right): https://codereview.webrtc.org/2906663002/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc#newcode256 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc:256: // Note: Disabling happens when the value is *below* ...
3 years, 6 months ago (2017-05-30 12:32:22 UTC) #12
minyue-webrtc
Good work. Only some cosmetic suggestions. https://codereview.webrtc.org/2906663002/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc (right): https://codereview.webrtc.org/2906663002/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc#newcode134 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc:134: // No matter ...
3 years, 6 months ago (2017-05-30 14:07:05 UTC) #13
eladalon
https://codereview.webrtc.org/2906663002/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc (right): https://codereview.webrtc.org/2906663002/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc#newcode134 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc:134: // No matter the initial FEC state, no matter ...
3 years, 6 months ago (2017-05-30 14:37:39 UTC) #14
minyue-webrtc
lgtm + nit https://codereview.webrtc.org/2906663002/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc (right): https://codereview.webrtc.org/2906663002/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc#newcode301 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc:301: kDisablingRecoverablePacketLossAtHighBw) / On 2017/05/30 14:37:39, eladalon ...
3 years, 6 months ago (2017-05-30 15:09:44 UTC) #15
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/2906663002/120001
3 years, 6 months ago (2017-05-30 15:49:09 UTC) #18
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/21704)
3 years, 6 months ago (2017-05-30 16:14:47 UTC) #20
minyue-webrtc
https://codereview.webrtc.org/2906663002/diff/120001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc (right): https://codereview.webrtc.org/2906663002/diff/120001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc#newcode48 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc:48: constexpr float kEpsilon = 1e-5; add suffix f https://codereview.webrtc.org/2906663002/diff/120001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based_unittest.cc ...
3 years, 6 months ago (2017-05-30 19:39:26 UTC) #21
eladalon
https://codereview.webrtc.org/2906663002/diff/120001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc (right): https://codereview.webrtc.org/2906663002/diff/120001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc#newcode48 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_plr_based_unittest.cc:48: constexpr float kEpsilon = 1e-5; On 2017/05/30 19:39:25, minyue-webrtc ...
3 years, 6 months ago (2017-05-30 20:52:00 UTC) #22
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/2906663002/140001
3 years, 6 months ago (2017-05-30 20:53:11 UTC) #25
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 21:44:56 UTC) #28
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/external/webrtc/+/cff9dfdc4ae6cd41d30e4d5bf...

Powered by Google App Engine
This is Rietveld 408576698