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

Issue 2390883004: Hooking up audio network adaptor to VoE. (Closed)

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

Description

Hooking up audio network adaptor to VoE. BUG=webrtc:6303 Committed: https://crrev.com/7e30432b3663ca64aa4776becc536b4a64fc45c9 Cr-Commit-Position: refs/heads/master@{#14611}

Patch Set 1 #

Total comments: 23

Patch Set 2 : on Karl's comments #

Total comments: 4

Patch Set 3 : final polish #

Patch Set 4 : rebasing #

Total comments: 5

Patch Set 5 : moving packet loss rate smoothing to AudioEncoderOpus. #

Total comments: 6

Patch Set 6 : updates #

Patch Set 7 : go back to old API for some tests. #

Total comments: 2

Patch Set 8 : adding a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -157 lines) Patch
M webrtc/modules/audio_coding/codecs/audio_encoder.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc View 1 2 3 4 5 6 7 6 chunks +46 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc View 1 2 3 4 5 chunks +32 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/include/audio_coding_module.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/voice_engine/BUILD.gn View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 4 chunks +42 lines, -10 lines 0 comments Download
D webrtc/voice_engine/network_predictor.h View 1 2 3 4 1 chunk +0 lines, -48 lines 0 comments Download
D webrtc/voice_engine/network_predictor.cc View 1 2 3 4 1 chunk +0 lines, -38 lines 0 comments Download
D webrtc/voice_engine/network_predictor_unittest.cc View 1 2 3 4 1 chunk +0 lines, -45 lines 0 comments Download
M webrtc/voice_engine/voice_engine.gyp View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 37 (10 generated)
minyue-webrtc
Hi Karl, This is a CL following the changes made in AudioEncoderOpus. See if you ...
4 years, 2 months ago (2016-10-04 11:03:55 UTC) #4
the sun
https://codereview.webrtc.org/2390883004/diff/20001/webrtc/voice_engine/channel.h File webrtc/voice_engine/channel.h (right): https://codereview.webrtc.org/2390883004/diff/20001/webrtc/voice_engine/channel.h#newcode211 webrtc/voice_engine/channel.h:211: bool EnableAudioNetworkAdaptor(const std::string& config_string); Where are these supposed to ...
4 years, 2 months ago (2016-10-05 09:49:46 UTC) #6
minyue-webrtc
https://codereview.webrtc.org/2390883004/diff/20001/webrtc/voice_engine/channel.h File webrtc/voice_engine/channel.h (right): https://codereview.webrtc.org/2390883004/diff/20001/webrtc/voice_engine/channel.h#newcode211 webrtc/voice_engine/channel.h:211: bool EnableAudioNetworkAdaptor(const std::string& config_string); On 2016/10/05 09:49:46, the sun ...
4 years, 2 months ago (2016-10-05 09:51:34 UTC) #7
kwiberg-webrtc
https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.cc File webrtc/modules/audio_coding/codecs/audio_encoder.cc (right): https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.cc#newcode81 webrtc/modules/audio_coding/codecs/audio_encoder.cc:81: SetProjectedPacketLossRate(uplink_packet_loss_fraction); On 2016/10/04 11:03:55, minyue-webrtc wrote: > Change the ...
4 years, 2 months ago (2016-10-06 09:46:13 UTC) #8
the sun
https://codereview.webrtc.org/2390883004/diff/20001/webrtc/voice_engine/channel.h File webrtc/voice_engine/channel.h (right): https://codereview.webrtc.org/2390883004/diff/20001/webrtc/voice_engine/channel.h#newcode211 webrtc/voice_engine/channel.h:211: bool EnableAudioNetworkAdaptor(const std::string& config_string); On 2016/10/06 09:46:13, kwiberg-webrtc wrote: ...
4 years, 2 months ago (2016-10-06 09:55:04 UTC) #9
minyue-webrtc
Hi Karl, Please see my comments on AudioEncoder's default behavior. We can also discuss offline. ...
4 years, 2 months ago (2016-10-06 10:32:38 UTC) #10
kwiberg-webrtc
https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.cc File webrtc/modules/audio_coding/codecs/audio_encoder.cc (right): https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.cc#newcode85 webrtc/modules/audio_coding/codecs/audio_encoder.cc:85: SetTargetBitrate(target_audio_bitrate_bps); On 2016/10/06 10:32:38, minyue-webrtc wrote: > On 2016/10/06 ...
4 years, 2 months ago (2016-10-06 10:57:11 UTC) #11
minyue-webrtc
On 2016/10/06 10:57:11, kwiberg-webrtc wrote: > https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.cc > File webrtc/modules/audio_coding/codecs/audio_encoder.cc (right): > > https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.cc#newcode85 > ...
4 years, 2 months ago (2016-10-06 11:09:39 UTC) #12
minyue-webrtc
Hi Karl, I have addressed your comments in a new PatchSet, and created a follow-up ...
4 years, 2 months ago (2016-10-11 09:00:22 UTC) #13
kwiberg-webrtc
lgtm, but see comments https://codereview.webrtc.org/2390883004/diff/40001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc (right): https://codereview.webrtc.org/2390883004/diff/40001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc#newcode118 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc:118: ? audio_network_adaptor_creator You should probably ...
4 years, 2 months ago (2016-10-11 10:18:42 UTC) #14
minyue-webrtc
https://codereview.webrtc.org/2390883004/diff/40001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc (right): https://codereview.webrtc.org/2390883004/diff/40001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc#newcode118 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc:118: ? audio_network_adaptor_creator On 2016/10/11 10:18:42, kwiberg-webrtc wrote: > You ...
4 years, 2 months ago (2016-10-11 10:38:35 UTC) #15
michaelt
https://codereview.webrtc.org/2390883004/diff/80001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2390883004/diff/80001/webrtc/voice_engine/channel.cc#newcode1288 webrtc/voice_engine/channel.cc:1288: audio_coding_->ModifyEncoder([&](std::unique_ptr<AudioEncoder>* encoder) { Have you done a real call ...
4 years, 2 months ago (2016-10-11 11:38:40 UTC) #16
minyue-webrtc
Thanks for the comments! https://codereview.webrtc.org/2390883004/diff/80001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2390883004/diff/80001/webrtc/voice_engine/channel.cc#newcode1288 webrtc/voice_engine/channel.cc:1288: audio_coding_->ModifyEncoder([&](std::unique_ptr<AudioEncoder>* encoder) { On 2016/10/11 ...
4 years, 2 months ago (2016-10-11 11:59:21 UTC) #17
michaelt
lgtm https://codereview.webrtc.org/2390883004/diff/80001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2390883004/diff/80001/webrtc/voice_engine/channel.cc#newcode1297 webrtc/voice_engine/channel.cc:1297: uint8_t average_fraction_loss = network_predictor_->GetLossRate(); Moving |network_predictor_| to the ...
4 years, 2 months ago (2016-10-11 12:27:23 UTC) #18
minyue-webrtc
Hi Michael, I have moved the packet loss rate smoother. PTAL. ~~~~ Hi Karl, It ...
4 years, 2 months ago (2016-10-11 14:32:36 UTC) #19
kwiberg-webrtc
https://codereview.webrtc.org/2390883004/diff/100001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc (right): https://codereview.webrtc.org/2390883004/diff/100001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc#newcode91 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc:91: ~PacketLossFractionSmoother() = default; I don't think this line does ...
4 years, 2 months ago (2016-10-11 14:56:19 UTC) #20
minyue-webrtc
Thanks for the comments! now updated. https://codereview.webrtc.org/2390883004/diff/100001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc (right): https://codereview.webrtc.org/2390883004/diff/100001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc#newcode91 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc:91: ~PacketLossFractionSmoother() = default; ...
4 years, 2 months ago (2016-10-11 15:31:09 UTC) #21
kwiberg-webrtc
lgtm
4 years, 2 months ago (2016-10-11 15:51:39 UTC) #22
michaelt
lgtm
4 years, 2 months ago (2016-10-11 15:57:03 UTC) #23
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/2390883004/120001
4 years, 2 months ago (2016-10-11 16:00:48 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/11414)
4 years, 2 months ago (2016-10-11 16:06:57 UTC) #27
minyue-webrtc
https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/test/PacketLossTest.cc File webrtc/modules/audio_coding/test/PacketLossTest.cc (right): https://codereview.webrtc.org/2390883004/diff/20001/webrtc/modules/audio_coding/test/PacketLossTest.cc#newcode115 webrtc/modules/audio_coding/test/PacketLossTest.cc:115: return success; On 2016/10/06 09:46:13, kwiberg-webrtc wrote: > Excellent. ...
4 years, 2 months ago (2016-10-11 17:04:34 UTC) #28
the sun
lgtm https://codereview.webrtc.org/2390883004/diff/140001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc (right): https://codereview.webrtc.org/2390883004/diff/140001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc#newcode91 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc:91: smoother_(0.9999f) {} Would be nice with a comment ...
4 years, 2 months ago (2016-10-11 17:52:42 UTC) #29
minyue-webrtc
https://codereview.webrtc.org/2390883004/diff/140001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc (right): https://codereview.webrtc.org/2390883004/diff/140001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc#newcode91 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc:91: smoother_(0.9999f) {} On 2016/10/11 17:52:42, the sun wrote: > ...
4 years, 2 months ago (2016-10-12 11:27:35 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/2390883004/160001
4 years, 2 months ago (2016-10-12 11:27:56 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 2 months ago (2016-10-12 12:01:00 UTC) #35
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 12:01:07 UTC) #37
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7e30432b3663ca64aa4776becc536b4a64fc45c9
Cr-Commit-Position: refs/heads/master@{#14611}

Powered by Google App Engine
This is Rietveld 408576698