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

Issue 2337103006: Adding FecController to audio network adaptor. (Closed)

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

Description

Adding FecController to audio network adaptor. BUG=webrtc:6303 Committed: https://crrev.com/d0ede4493e89f1e7c3adaf3a2ad66c64578e823e Cr-Commit-Position: refs/heads/master@{#14351}

Patch Set 1 #

Patch Set 2 : rebasing #

Patch Set 3 : fixing some errors on bots #

Total comments: 14

Patch Set 4 : On Henrik's comments #

Total comments: 6

Patch Set 5 : unify threshold calculation #

Total comments: 5

Patch Set 6 : final polish #

Total comments: 2

Patch Set 7 : using actual packet loss fraction even when fec off. #

Patch Set 8 : rebasing #

Patch Set 9 : fixing death test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+566 lines, -10 lines) Patch
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc View 1 2 3 4 5 6 1 chunk +136 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +312 lines, -0 lines 1 comment Download
A + webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h View 1 chunk +8 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 43 (22 generated)
minyue-webrtc
Hi Michael, Please take a look at this CL, thanks!
4 years, 3 months ago (2016-09-14 17:19:35 UTC) #5
michaelt
https://codereview.webrtc.org/2337103006/diff/40001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h (right): https://codereview.webrtc.org/2337103006/diff/40001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h#newcode96 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h:96: const ThresholdInfo fec_enabling_threshold_info; should this infos be marked as ...
4 years, 3 months ago (2016-09-15 15:12:52 UTC) #16
minyue-webrtc
+Henrik, Hi Henrik, Michael has taken a look, and he had no major concerns. I ...
4 years, 3 months ago (2016-09-15 15:16:48 UTC) #18
hlundin-webrtc
Nice. See comments inline. https://codereview.webrtc.org/2337103006/diff/40001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc (right): https://codereview.webrtc.org/2337103006/diff/40001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc#newcode14 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc:14: #include "webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h" fec_controller.h first of ...
4 years, 3 months ago (2016-09-19 14:46:43 UTC) #19
minyue-webrtc
I updated the CL The biggest change there is adding intersection detection. PTAL again. Thanks! ...
4 years, 3 months ago (2016-09-20 11:58:43 UTC) #20
minyue-webrtc
two nits found by myself. https://codereview.webrtc.org/2337103006/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc (right): https://codereview.webrtc.org/2337103006/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc#newcode43 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc:43: printf("%f\n", denom); remove https://codereview.webrtc.org/2337103006/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc#newcode48 ...
4 years, 3 months ago (2016-09-20 12:01:02 UTC) #21
minyue-webrtc
two nits found by myself.
4 years, 3 months ago (2016-09-20 12:01:03 UTC) #22
hlundin-webrtc
https://codereview.webrtc.org/2337103006/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc (right): https://codereview.webrtc.org/2337103006/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc#newcode87 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc:87: // Ensure that the two middle parts of the ...
4 years, 3 months ago (2016-09-20 12:40:37 UTC) #23
minyue-webrtc
Thanks for the inspiration! It gets more improvements. See new patch! https://codereview.webrtc.org/2337103006/diff/60001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc (right): ...
4 years, 3 months ago (2016-09-20 16:16:12 UTC) #24
hlundin-webrtc
Much improved! Two comments on the death test. https://codereview.webrtc.org/2337103006/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc (right): https://codereview.webrtc.org/2337103006/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc#newcode292 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc:292: TEST(FecControllerTest, ...
4 years, 3 months ago (2016-09-21 10:59:24 UTC) #25
minyue-webrtc
thanks! now changed. https://codereview.webrtc.org/2337103006/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc (right): https://codereview.webrtc.org/2337103006/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc#newcode292 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc:292: TEST(FecControllerTest, DeathOnWrongConfig) { On 2016/09/21 10:59:23, ...
4 years, 3 months ago (2016-09-21 11:46:50 UTC) #26
hlundin-webrtc
LGTM https://codereview.webrtc.org/2337103006/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc (right): https://codereview.webrtc.org/2337103006/diff/80001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc#newcode292 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc:292: TEST(FecControllerTest, DeathOnWrongConfig) { On 2016/09/21 11:46:49, minyue-webrtc wrote: ...
4 years, 3 months ago (2016-09-21 12:25:40 UTC) #27
michaelt
https://codereview.webrtc.org/2337103006/diff/100001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc (right): https://codereview.webrtc.org/2337103006/diff/100001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc#newcode88 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc:88: config->uplink_packet_loss_fraction = rtc::Optional<float>(0.0); OPUS uses the packet loss information ...
4 years, 3 months ago (2016-09-21 12:51:54 UTC) #28
minyue-webrtc
Hi Michael, Thanks for the nice point. I uploaded a new patch set to cover ...
4 years, 3 months ago (2016-09-21 13:37:52 UTC) #29
michaelt
lgtm
4 years, 3 months ago (2016-09-22 06:53:55 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/2337103006/140001
4 years, 3 months ago (2016-09-22 10:33:52 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/18030)
4 years, 3 months ago (2016-09-22 10:49:02 UTC) #35
minyue-webrtc
https://codereview.webrtc.org/2337103006/diff/160001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc File webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc (right): https://codereview.webrtc.org/2337103006/diff/160001/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc#newcode298 webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc:298: EXPECT_DEATH( It looks like that RTC_DCHECK_IS_ON for some non-debug ...
4 years, 3 months ago (2016-09-22 11:28:01 UTC) #36
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/2337103006/160001
4 years, 3 months ago (2016-09-22 11:28:26 UTC) #39
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-22 13:20:57 UTC) #41
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 13:21:07 UTC) #43
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d0ede4493e89f1e7c3adaf3a2ad66c64578e823e
Cr-Commit-Position: refs/heads/master@{#14351}

Powered by Google App Engine
This is Rietveld 408576698