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

Issue 2973083002: TransmitMixer: Check GetSendCodec return value. (Closed)

Created:
3 years, 5 months ago by ossu
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, AleBzk, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

TransmitMixer: Check GetSendCodec return value. BUG=b/62909493 Review-Url: https://codereview.webrtc.org/2973083002 Cr-Commit-Position: refs/heads/master@{#18975} Committed: https://chromium.googlesource.com/external/webrtc/+/950c1c908c46d10f3de6081e52718a304a199b61

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add DCHECKs on the result of GetSendCodec. #

Total comments: 2

Patch Set 3 : More checking in channel.cc and added TODOs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M webrtc/voice_engine/channel.cc View 1 2 1 chunk +11 lines, -3 lines 0 comments Download
M webrtc/voice_engine/transmit_mixer.cc View 1 2 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
ossu
I've added a simple check and logging to the GetSendCodec call. I'm a bit worried ...
3 years, 5 months ago (2017-07-07 14:59:52 UTC) #6
minyue-webrtc
https://codereview.webrtc.org/2973083002/diff/1/webrtc/voice_engine/transmit_mixer.cc File webrtc/voice_engine/transmit_mixer.cc (right): https://codereview.webrtc.org/2973083002/diff/1/webrtc/voice_engine/transmit_mixer.cc#newcode250 webrtc/voice_engine/transmit_mixer.cc:250: if (channel->GetSendCodec(codec) == 0) { I found another usage ...
3 years, 5 months ago (2017-07-10 09:30:32 UTC) #7
minyue-webrtc
can we try to land this today. Doing the following will look good to me, ...
3 years, 5 months ago (2017-07-11 07:28:33 UTC) #8
ossu
On 2017/07/11 07:28:33, minyue-webrtc wrote: > can we try to land this today. > > ...
3 years, 5 months ago (2017-07-11 10:23:11 UTC) #9
ossu
New patchset up!
3 years, 5 months ago (2017-07-11 10:42:51 UTC) #12
minyue-webrtc
https://codereview.webrtc.org/2973083002/diff/20001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2973083002/diff/20001/webrtc/voice_engine/channel.cc#newcode2762 webrtc/voice_engine/channel.cc:2762: const int result = GetSendCodec(codec); will this be safe ...
3 years, 5 months ago (2017-07-11 11:18:09 UTC) #13
ossu
https://codereview.webrtc.org/2973083002/diff/20001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2973083002/diff/20001/webrtc/voice_engine/channel.cc#newcode2762 webrtc/voice_engine/channel.cc:2762: const int result = GetSendCodec(codec); On 2017/07/11 11:18:09, minyue-webrtc ...
3 years, 5 months ago (2017-07-11 12:15:10 UTC) #18
ossu
3 years, 5 months ago (2017-07-11 12:15:12 UTC) #19
minyue-webrtc
lgtm
3 years, 5 months ago (2017-07-11 13:00:14 UTC) #22
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/2973083002/40001
3 years, 5 months ago (2017-07-11 13:46:12 UTC) #24
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/19136)
3 years, 5 months ago (2017-07-11 13:51:53 UTC) #26
ossu
Adding henrika@ for owner review.
3 years, 5 months ago (2017-07-11 15:09:04 UTC) #28
ossu
Adding henrikg@ as well, since we're close to quitting time
3 years, 5 months ago (2017-07-11 15:13:38 UTC) #30
Henrik Grunell WebRTC
rs lgtm - deferring to minyue@.
3 years, 5 months ago (2017-07-11 15:15:17 UTC) #31
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/2973083002/40001
3 years, 5 months ago (2017-07-11 15:16:02 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/950c1c908c46d10f3de6081e52718a304a199b61
3 years, 5 months ago (2017-07-11 15:19:40 UTC) #36
henrika_webrtc
3 years, 5 months ago (2017-07-12 08:03:17 UTC) #37
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698