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

Issue 1765873002: On WVoMC::SetSendParameters(), figure out send codec settings ONCE, not for each send stream. (Closed)

Created:
4 years, 9 months ago by the sun
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

On WVoMC::SetSendParameters(), figure out send codec settings ONCE, not for each send stream. This CL is a first step to moving codec configuration into AudioSendStream. BUG=webrtc:4690 TBR=ossu@webrtc.org Committed: https://crrev.com/72e29d2cbb670b723ac2fa961b15b3b97bf639ef Cr-Commit-Position: refs/heads/master@{#11911}

Patch Set 1 #

Total comments: 12

Patch Set 2 : zero-init CodecInst's #

Patch Set 3 : Can't use braced init #

Patch Set 4 : comments #

Patch Set 5 : build warning+rebase #

Total comments: 8

Patch Set 6 : Added docs #

Total comments: 6

Patch Set 7 : More comment #

Patch Set 8 : another comment #

Total comments: 7

Patch Set 9 : Comment #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -176 lines) Patch
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 4 5 4 chunks +26 lines, -9 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 15 chunks +189 lines, -167 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
the sun
4 years, 9 months ago (2016-03-04 10:32:47 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765873002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765873002/1
4 years, 9 months ago (2016-03-04 11:50:51 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 9 months ago (2016-03-04 13:51:11 UTC) #9
ossu
Looks fine in general, but I'll leave approval to someone with better understanding of the ...
4 years, 9 months ago (2016-03-04 14:40:22 UTC) #10
ossu
https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode411 webrtc/media/engine/webrtcvoiceengine.cc:411: webrtc::CodecInst voe_codec; On 2016/03/04 14:40:22, ossu wrote: > Cannot ...
4 years, 9 months ago (2016-03-04 15:02:02 UTC) #11
the sun
https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode411 webrtc/media/engine/webrtcvoiceengine.cc:411: webrtc::CodecInst voe_codec; On 2016/03/04 15:02:02, ossu wrote: > On ...
4 years, 9 months ago (2016-03-04 15:44:03 UTC) #12
kwiberg-webrtc
lgtm, but consider adding doc comments. https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc#newcode412 webrtc/media/engine/webrtcvoiceengine.cc:412: if (!ToCodecInst(*found_codec, &voe_codec)) ...
4 years, 9 months ago (2016-03-05 02:29:45 UTC) #13
the sun
https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc#newcode412 webrtc/media/engine/webrtcvoiceengine.cc:412: if (!ToCodecInst(*found_codec, &voe_codec)) { On 2016/03/05 02:29:45, kwiberg-webrtc wrote: ...
4 years, 9 months ago (2016-03-05 08:55:33 UTC) #14
the sun
https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc#newcode1521 webrtc/media/engine/webrtcvoiceengine.cc:1521: On 2016/03/05 02:29:45, kwiberg-webrtc wrote: > These methods don't ...
4 years, 9 months ago (2016-03-07 09:02:35 UTC) #15
the sun
On 2016/03/07 09:02:35, the sun wrote: > https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc > File webrtc/media/engine/webrtcvoiceengine.cc (right): > > https://codereview.webrtc.org/1765873002/diff/80001/webrtc/media/engine/webrtcvoiceengine.cc#newcode1521 ...
4 years, 9 months ago (2016-03-07 09:10:58 UTC) #17
stefan-webrtc
Transport cc looks correct, so lgtm on that. I had a few other questions that ...
4 years, 9 months ago (2016-03-07 09:27:50 UTC) #18
the sun
https://codereview.webrtc.org/1765873002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (left): https://codereview.webrtc.org/1765873002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc#oldcode1651 webrtc/media/engine/webrtcvoiceengine.cc:1651: cn_freq = webrtc::kFreq8000Hz; On 2016/03/07 09:27:50, stefan-webrtc (holmer) wrote: ...
4 years, 9 months ago (2016-03-07 13:56:05 UTC) #19
kwiberg-webrtc
lgtm
4 years, 9 months ago (2016-03-07 14:23:21 UTC) #20
the sun
On 2016/03/07 14:23:21, kwiberg-webrtc wrote: > lgtm ossu@, minyue@. PTAL
4 years, 9 months ago (2016-03-08 10:12:10 UTC) #21
minyue-webrtc
https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode1558 webrtc/media/engine/webrtcvoiceengine.cc:1558: // when RED is disabled? On 2016/03/04 14:40:22, ossu ...
4 years, 9 months ago (2016-03-08 10:19:47 UTC) #22
the sun
https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1765873002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode1558 webrtc/media/engine/webrtcvoiceengine.cc:1558: // when RED is disabled? On 2016/03/08 10:19:47, minyue-webrtc ...
4 years, 9 months ago (2016-03-08 12:04:02 UTC) #23
minyue-webrtc
thanks for the explanation, lgtm
4 years, 9 months ago (2016-03-08 12:07:16 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765873002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765873002/180001
4 years, 9 months ago (2016-03-08 12:19:15 UTC) #28
ossu
https://codereview.webrtc.org/1765873002/diff/140001/webrtc/media/engine/webrtcvoiceengine.h File webrtc/media/engine/webrtcvoiceengine.h (right): https://codereview.webrtc.org/1765873002/diff/140001/webrtc/media/engine/webrtcvoiceengine.h#newcode277 webrtc/media/engine/webrtcvoiceengine.h:277: webrtc::CodecInst empty_inst = {0}; Apologies if this resolves exactly ...
4 years, 9 months ago (2016-03-08 13:52:53 UTC) #29
the sun
On 2016/03/08 13:52:53, ossu wrote: > https://codereview.webrtc.org/1765873002/diff/140001/webrtc/media/engine/webrtcvoiceengine.h > File webrtc/media/engine/webrtcvoiceengine.h (right): > > https://codereview.webrtc.org/1765873002/diff/140001/webrtc/media/engine/webrtcvoiceengine.h#newcode277 > ...
4 years, 9 months ago (2016-03-08 14:01:53 UTC) #30
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 9 months ago (2016-03-08 14:35:23 UTC) #32
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 14:35:32 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/72e29d2cbb670b723ac2fa961b15b3b97bf639ef
Cr-Commit-Position: refs/heads/master@{#11911}

Powered by Google App Engine
This is Rietveld 408576698