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

Issue 2707133007: Pick a matching CN codec, rather than the first CN codec. (Closed)

Created:
3 years, 10 months ago by ossu
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Pick a matching CN codec, rather than the first CN codec. It seems to me that we're currently just picking the first CN codec, rather than the one that matches the clock rate of the voice codec. The only test I've gotten to fail by changing this behavior is the one that's also changed in this CL, which explicitly expects a CN codec to be chosen even though there's none matching. BUG=webrtc:7282 Review-Url: https://codereview.webrtc.org/2707133007 Cr-Commit-Position: refs/heads/master@{#16979} Committed: https://chromium.googlesource.com/external/webrtc/+/0c4b849b278de3666e8bb10781f2082e3feb8f74

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -13 lines) Patch
M webrtc/media/engine/webrtcvoiceengine.cc View 1 chunk +9 lines, -8 lines 7 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
ossu
I'm just gonna let you have a look at this. From my reading the RFCs, ...
3 years, 10 months ago (2017-02-24 16:18:06 UTC) #3
hlundin-webrtc
lgtm https://codereview.webrtc.org/2707133007/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2707133007/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode2008 webrtc/media/engine/webrtcvoiceengine.cc:2008: case 32000: You will have to check this, ...
3 years, 9 months ago (2017-02-27 08:00:52 UTC) #4
minyue-webrtc
from https://tools.ietf.org/html/rfc3389 it looks like that the clock rate should indeed match. But WebRTC implementation ...
3 years, 9 months ago (2017-02-27 08:19:54 UTC) #6
ossu
https://codereview.webrtc.org/2707133007/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2707133007/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode1990 webrtc/media/engine/webrtcvoiceengine.cc:1990: for (const AudioCodec& cn_codec : codecs) { ossu: Add ...
3 years, 9 months ago (2017-03-01 23:24:38 UTC) #7
ossu
https://codereview.webrtc.org/2707133007/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2707133007/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode1990 webrtc/media/engine/webrtcvoiceengine.cc:1990: for (const AudioCodec& cn_codec : codecs) { On 2017/03/01 ...
3 years, 9 months ago (2017-03-02 00:44:48 UTC) #8
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/2707133007/1
3 years, 9 months ago (2017-03-02 17:19:45 UTC) #15
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/14386)
3 years, 9 months ago (2017-03-02 17:24:37 UTC) #17
ossu
+solenberg Need owner approval.
3 years, 9 months ago (2017-03-02 17:39:11 UTC) #19
the sun
lgtm
3 years, 9 months ago (2017-03-02 18:58:50 UTC) #20
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/2707133007/1
3 years, 9 months ago (2017-03-02 19:01:05 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 19:03:30 UTC) #25
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/0c4b849b278de3666e8bb1078...

Powered by Google App Engine
This is Rietveld 408576698