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

Issue 2397573006: Using AudioOption to enable audio network adaptor. (Closed)

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

Description

Using AudioOption to enable audio network adaptor. BUG=webrtc:6303 Committed: https://crrev.com/6b825df37e49398bac89abedc6a45048b87d54ed Cr-Commit-Position: refs/heads/master@{#14845}

Patch Set 1 #

Total comments: 5

Patch Set 2 : new approach: go through AudioSendStream's ctor #

Total comments: 4

Patch Set 3 : fixing some problems #

Total comments: 21

Patch Set 4 : rebasing #

Patch Set 5 : on comments #

Total comments: 17

Patch Set 6 : EnableAudioNetworkAdaptor return void and other fixes #

Total comments: 2

Patch Set 7 : fixing a unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -86 lines) Patch
M webrtc/api/call/audio_send_stream.h View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M webrtc/api/call/audio_send_stream.cc View 1 2 3 4 3 chunks +14 lines, -24 lines 0 comments Download
M webrtc/audio/audio_send_stream.cc View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 5 6 7 chunks +50 lines, -33 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 5 4 chunks +13 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 10 chunks +68 lines, -19 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 3 4 5 3 chunks +58 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_encoder.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/mock_voe_channel_proxy.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.h View 1 2 3 4 5 1 chunk +4 lines, -7 lines 0 comments Download
M webrtc/voice_engine/channel_proxy.cc View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 55 (24 generated)
minyue-webrtc
Hi Fredrik, I tried to use audio send stream to set up ANA, but it ...
4 years, 2 months ago (2016-10-06 07:35:11 UTC) #3
the sun
https://codereview.webrtc.org/2397573006/diff/1/webrtc/api/call/audio_send_stream.h File webrtc/api/call/audio_send_stream.h (right): https://codereview.webrtc.org/2397573006/diff/1/webrtc/api/call/audio_send_stream.h#newcode114 webrtc/api/call/audio_send_stream.h:114: virtual bool EnableAudioNetworkAdaptor(const std::string& config_string) = 0; One of ...
4 years, 2 months ago (2016-10-06 08:03:46 UTC) #4
minyue-webrtc
https://codereview.webrtc.org/2397573006/diff/1/webrtc/api/call/audio_send_stream.h File webrtc/api/call/audio_send_stream.h (right): https://codereview.webrtc.org/2397573006/diff/1/webrtc/api/call/audio_send_stream.h#newcode114 webrtc/api/call/audio_send_stream.h:114: virtual bool EnableAudioNetworkAdaptor(const std::string& config_string) = 0; On 2016/10/06 ...
4 years, 2 months ago (2016-10-06 08:16:53 UTC) #5
the sun
On 2016/10/06 08:16:53, minyue-webrtc wrote: > https://codereview.webrtc.org/2397573006/diff/1/webrtc/api/call/audio_send_stream.h > File webrtc/api/call/audio_send_stream.h (right): > > https://codereview.webrtc.org/2397573006/diff/1/webrtc/api/call/audio_send_stream.h#newcode114 > ...
4 years, 2 months ago (2016-10-06 08:21:28 UTC) #6
minyue-webrtc
On 2016/10/06 08:21:28, the sun wrote: > On 2016/10/06 08:16:53, minyue-webrtc wrote: > > > ...
4 years, 2 months ago (2016-10-06 08:23:52 UTC) #7
michaelt
https://codereview.webrtc.org/2397573006/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2397573006/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode1335 webrtc/media/engine/webrtcvoiceengine.cc:1335: void SetReceiverFrameLengthRange(int min_frame_length_ms, Will you add a interface for ...
4 years, 2 months ago (2016-10-19 13:32:55 UTC) #13
minyue-webrtc
On 2016/10/19 13:32:55, michaelt wrote: > https://codereview.webrtc.org/2397573006/diff/1/webrtc/media/engine/webrtcvoiceengine.cc > File webrtc/media/engine/webrtcvoiceengine.cc (right): > > https://codereview.webrtc.org/2397573006/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode1335 > ...
4 years, 2 months ago (2016-10-19 14:55:37 UTC) #14
minyue-webrtc
Hi Fredrik and Michael, As https://codereview.webrtc.org/2405183002/ is close to finishing. I added a new patch ...
4 years, 2 months ago (2016-10-19 22:40:09 UTC) #15
michaelt
https://codereview.webrtc.org/2397573006/diff/100001/webrtc/api/call/audio_send_stream.h File webrtc/api/call/audio_send_stream.h (right): https://codereview.webrtc.org/2397573006/diff/100001/webrtc/api/call/audio_send_stream.h#newcode103 webrtc/api/call/audio_send_stream.h:103: if (nack_enabled != rhs.nack_enabled) { wouldn't this be the ...
4 years, 2 months ago (2016-10-20 09:10:04 UTC) #16
minyue-webrtc
Thanks for the quick comments! BTW, please ignore PS1, and do not try to compare ...
4 years, 2 months ago (2016-10-20 09:22:11 UTC) #17
minyue-webrtc
Hi Fredrik, Would you take a look at this CL?
4 years, 2 months ago (2016-10-24 06:44:51 UTC) #18
minyue-webrtc
Hi, please wait a second. It is not completely valid. I need to make a ...
4 years, 2 months ago (2016-10-24 07:21:35 UTC) #19
minyue-webrtc
Hi Fredrik and Michael, I made a retouch of the CL. Now it is ready ...
4 years, 1 month ago (2016-10-24 10:57:11 UTC) #20
the sun
https://codereview.webrtc.org/2397573006/diff/120001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/2397573006/diff/120001/webrtc/audio/audio_send_stream.cc#newcode391 webrtc/audio/audio_send_stream.cc:391: if (config_.audio_network_adaptor_config) { Is the invariant that max/min_ptime_ms must ...
4 years, 1 month ago (2016-10-25 09:25:47 UTC) #21
the sun
https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h#newcode276 webrtc/media/base/mediachannel.h:276: rtc::Optional<bool> audio_network_adaptor; On 2016/10/24 10:57:11, minyue-webrtc wrote: > I ...
4 years, 1 month ago (2016-10-25 09:46:32 UTC) #22
minyue-webrtc
Hi Fredrik and Michael, I've updated the CL according to your comments. PTAL again! Thanks! ...
4 years, 1 month ago (2016-10-27 14:33:10 UTC) #24
the sun
https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h#newcode234 webrtc/media/base/mediachannel.h:234: ost << ToStringIfSet("audio_network_adaptor", audio_network_adaptor); On 2016/10/27 14:33:10, minyue-webrtc wrote: ...
4 years, 1 month ago (2016-10-28 18:21:53 UTC) #25
minyue-webrtc
Hi Fredrik, Thanks for the feedback! See my replies first before I go for a ...
4 years, 1 month ago (2016-10-28 18:41:57 UTC) #26
the sun
https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h#newcode234 webrtc/media/base/mediachannel.h:234: ost << ToStringIfSet("audio_network_adaptor", audio_network_adaptor); On 2016/10/28 18:41:57, minyue-webrtc wrote: ...
4 years, 1 month ago (2016-10-28 19:04:47 UTC) #27
minyue-webrtc
Hi Fredrik, Now comes a new patch set. https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h#newcode276 webrtc/media/base/mediachannel.h:276: rtc::Optional<bool> ...
4 years, 1 month ago (2016-10-28 20:15:03 UTC) #29
the sun
LGTM https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h#newcode276 webrtc/media/base/mediachannel.h:276: rtc::Optional<bool> audio_network_adaptor; On 2016/10/28 20:15:03, minyue-webrtc wrote: > ...
4 years, 1 month ago (2016-10-28 20:33:08 UTC) #34
minyue-webrtc
https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2397573006/diff/120001/webrtc/media/base/mediachannel.h#newcode276 webrtc/media/base/mediachannel.h:276: rtc::Optional<bool> audio_network_adaptor; On 2016/10/28 20:33:08, the sun wrote: > ...
4 years, 1 month ago (2016-10-28 21:05:46 UTC) #35
michaelt
lgtm
4 years, 1 month ago (2016-10-31 08:40:36 UTC) #40
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/2397573006/240001
4 years, 1 month ago (2016-10-31 08:41:17 UTC) #43
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/9664)
4 years, 1 month ago (2016-10-31 08:44:08 UTC) #45
minyue-webrtc
+kjellander Hi Henrik, Adding you to approve test/mock_voe_channel_proxy.h.
4 years, 1 month ago (2016-10-31 08:56:56 UTC) #47
kjellander_webrtc
On 2016/10/31 08:56:56, minyue-webrtc wrote: > +kjellander > > Hi Henrik, > > Adding you ...
4 years, 1 month ago (2016-10-31 09:50:05 UTC) #48
minyue-webrtc
On 2016/10/31 09:50:05, kjellander_webrtc wrote: > On 2016/10/31 08:56:56, minyue-webrtc wrote: > > +kjellander > ...
4 years, 1 month ago (2016-10-31 10:15:16 UTC) #49
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/2397573006/240001
4 years, 1 month ago (2016-10-31 10:15:40 UTC) #51
commit-bot: I haz the power
Committed patchset #7 (id:240001)
4 years, 1 month ago (2016-10-31 11:08:36 UTC) #53
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 11:08:43 UTC) #55
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6b825df37e49398bac89abedc6a45048b87d54ed
Cr-Commit-Position: refs/heads/master@{#14845}

Powered by Google App Engine
This is Rietveld 408576698