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

Issue 2405183002: Moving WebRtcVoiceMediaChannel::SendSetCodec to AudioSendStream. (Closed)

Created:
4 years, 2 months ago by minyue-webrtc
Modified:
4 years, 2 months ago
Reviewers:
the sun
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, tlegrand-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Moving WebRtcVoiceMediaChannel::SendSetCodec to AudioSendStream. BUG=webrtc:5806, webrtc:4690 Committed: https://crrev.com/7a973447eb147e60f2184bc42f7a878a1e087f0e Cr-Commit-Position: refs/heads/master@{#14700}

Patch Set 1 #

Patch Set 2 : working version #

Total comments: 4

Patch Set 3 : avoid duplication #

Total comments: 2

Patch Set 4 : removing ApplyMaxSendBitrate #

Total comments: 24

Patch Set 5 : fixing unittests #

Total comments: 4

Patch Set 6 : adding logs and addressing some earlier comments. #

Total comments: 9

Patch Set 7 : on fredrik's comments #

Total comments: 11

Patch Set 8 : on Fredrik's comments #

Patch Set 9 : adding audio send stream unittests #

Patch Set 10 : rebasing #

Total comments: 4

Patch Set 11 : on fredrik's comments #

Total comments: 8

Patch Set 12 : try to solve win_bot #

Total comments: 2

Patch Set 13 : final change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+609 lines, -606 lines) Patch
M webrtc/api/call/audio_send_stream.h View 1 2 3 4 5 6 7 1 chunk +49 lines, -6 lines 0 comments Download
M webrtc/audio/audio_send_stream.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/audio/audio_send_stream.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +154 lines, -1 line 0 comments Download
M webrtc/audio/audio_send_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +72 lines, -5 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 4 5 6 7 8 9 4 chunks +1 line, -29 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 12 chunks +108 lines, -245 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 3 4 5 6 7 8 9 20 chunks +223 lines, -320 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 44 (22 generated)
minyue-webrtc
Hi Fredrik, Please take a look at this. I made it build by copying missing ...
4 years, 2 months ago (2016-10-11 07:24:35 UTC) #3
minyue-webrtc
Hi, I have got a working version.
4 years, 2 months ago (2016-10-12 10:41:25 UTC) #4
the sun
https://codereview.webrtc.org/2405183002/diff/20001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/2405183002/diff/20001/webrtc/audio/audio_send_stream.cc#newcode553 webrtc/audio/audio_send_stream.cc:553: return config_.send_codec_spec.codec_inst.pltype != -1; Think we can do without ...
4 years, 2 months ago (2016-10-12 15:15:17 UTC) #5
minyue-webrtc
Hi Fredrik, Thanks for the inspiring talk! Here is an easy way of avoiding copying ...
4 years, 2 months ago (2016-10-12 18:59:21 UTC) #6
the sun
https://codereview.webrtc.org/2405183002/diff/40001/webrtc/api/call/audio_send_stream.h File webrtc/api/call/audio_send_stream.h (right): https://codereview.webrtc.org/2405183002/diff/40001/webrtc/api/call/audio_send_stream.h#newcode153 webrtc/api/call/audio_send_stream.h:153: struct CodecPref { I think you can do even ...
4 years, 2 months ago (2016-10-13 08:51:33 UTC) #11
minyue-webrtc
before I start fixing unittests, let me be brave and do one more clean up. ...
4 years, 2 months ago (2016-10-13 12:48:09 UTC) #12
the sun
https://codereview.webrtc.org/2405183002/diff/60001/webrtc/api/call/audio_send_stream.h File webrtc/api/call/audio_send_stream.h (right): https://codereview.webrtc.org/2405183002/diff/60001/webrtc/api/call/audio_send_stream.h#newcode98 webrtc/api/call/audio_send_stream.h:98: int max_send_bitrate_bps = 0; is it possible to use ...
4 years, 2 months ago (2016-10-13 13:15:06 UTC) #13
minyue-webrtc
Hi Fredrik, I now managed to fix unittests. All tests are kept, which is good. ...
4 years, 2 months ago (2016-10-14 13:32:56 UTC) #14
minyue-webrtc
Hi Fredrik, In PS6, logs which were removed temporarily are added back. I tried to ...
4 years, 2 months ago (2016-10-17 07:41:59 UTC) #19
the sun
A few comments - I'll take a closer look later! https://codereview.webrtc.org/2405183002/diff/100001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/2405183002/diff/100001/webrtc/audio/audio_send_stream.cc#newcode13 ...
4 years, 2 months ago (2016-10-17 14:58:22 UTC) #20
minyue-webrtc
Hi Fredrik, A quick reply on one of your comments. https://codereview.webrtc.org/2405183002/diff/100001/webrtc/media/engine/webrtcvoiceengine_unittest.cc File webrtc/media/engine/webrtcvoiceengine_unittest.cc (right): https://codereview.webrtc.org/2405183002/diff/100001/webrtc/media/engine/webrtcvoiceengine_unittest.cc#newcode280 ...
4 years, 2 months ago (2016-10-17 15:08:27 UTC) #21
minyue-webrtc
Hi Fredrik, I uploaded a new patch set. It addressed your comments + 1 more ...
4 years, 2 months ago (2016-10-18 09:39:00 UTC) #22
the sun
Generally looks good, please add the missing test for AudioSendStream. https://codereview.webrtc.org/2405183002/diff/120001/webrtc/api/call/audio_send_stream.h File webrtc/api/call/audio_send_stream.h (right): https://codereview.webrtc.org/2405183002/diff/120001/webrtc/api/call/audio_send_stream.h#newcode139 ...
4 years, 2 months ago (2016-10-18 14:29:50 UTC) #23
minyue-webrtc
Hi Fredrik, I made a further update. PTAL. Regarding the unittests in audio send stream, ...
4 years, 2 months ago (2016-10-19 05:53:55 UTC) #24
minyue-webrtc
now are audio send stream unittests also added. PTAL.
4 years, 2 months ago (2016-10-19 08:41:46 UTC) #25
the sun
a few more https://codereview.webrtc.org/2405183002/diff/180001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2405183002/diff/180001/webrtc/media/engine/webrtcvoiceengine.cc#newcode1301 webrtc/media/engine/webrtcvoiceengine.cc:1301: bool IsMaxSendBitrateValid(int bps) const { Is ...
4 years, 2 months ago (2016-10-19 13:02:18 UTC) #32
minyue-webrtc
Hi Fredrik, I addressed your comments. https://codereview.webrtc.org/2405183002/diff/220001/webrtc/audio/audio_send_stream.cc File webrtc/audio/audio_send_stream.cc (right): https://codereview.webrtc.org/2405183002/diff/220001/webrtc/audio/audio_send_stream.cc#newcode331 webrtc/audio/audio_send_stream.cc:331: const auto& send_codec_spec ...
4 years, 2 months ago (2016-10-19 14:39:19 UTC) #34
the sun
lgtm % comments https://codereview.webrtc.org/2405183002/diff/220001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2405183002/diff/220001/webrtc/media/engine/webrtcvoiceengine.cc#newcode475 webrtc/media/engine/webrtcvoiceengine.cc:475: // TODO(bemasc): Fix this so that ...
4 years, 2 months ago (2016-10-19 19:37:53 UTC) #35
minyue-webrtc
Thanks for the review! Now some final polishes. I will start CQ to see how ...
4 years, 2 months ago (2016-10-20 08:47:12 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/2405183002/250001
4 years, 2 months ago (2016-10-20 08:51:09 UTC) #40
commit-bot: I haz the power
Committed patchset #13 (id:250001)
4 years, 2 months ago (2016-10-20 10:27:16 UTC) #42
commit-bot: I haz the power
4 years, 2 months ago (2016-10-20 10:27:30 UTC) #44
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/7a973447eb147e60f2184bc42f7a878a1e087f0e
Cr-Commit-Position: refs/heads/master@{#14700}

Powered by Google App Engine
This is Rietveld 408576698