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

Issue 2669583002: Added a flag to AudioCodecSpec to indicate adaptive bitrate support. (Closed)

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

Description

Added a flag to AudioCodecSpec to indicate adaptive bitrate support. It's currently only used to ensure transport-cc is enabled for the format in question. It might be used to toggle more things in future. BUG=webrtc:5806 Review-Url: https://codereview.webrtc.org/2669583002 Cr-Commit-Position: refs/heads/master@{#16514} Committed: https://chromium.googlesource.com/external/webrtc/+/9def800b7055de678bd5bf464f06194bb94ccd2a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed strange extra space. #

Patch Set 3 : Rebase #

Patch Set 4 : Fixed CN and DTMF codecs not getting generated properly. #

Patch Set 5 : int -> size_t to avoid unsigned/signed mismatch warnings on Windows. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -32 lines) Patch
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 2 chunks +21 lines, -15 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 3 4 1 chunk +70 lines, -0 lines 3 comments Download
M webrtc/modules/audio_coding/codecs/audio_format.h View 1 chunk +18 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_format.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc View 1 1 chunk +20 lines, -15 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (23 generated)
ossu
stefan: although we didn't come to any massive conclusion in our meeting last week, it ...
3 years, 10 months ago (2017-01-31 14:05:09 UTC) #3
hlundin-webrtc
Drive-by nit-picking. https://codereview.webrtc.org/2669583002/diff/1/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc File webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc (right): https://codereview.webrtc.org/2669583002/diff/1/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc#newcode185 webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc:185: { "useinbandfec", "1" } What's going on ...
3 years, 10 months ago (2017-01-31 15:46:34 UTC) #4
ossu
https://codereview.webrtc.org/2669583002/diff/1/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc File webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc (right): https://codereview.webrtc.org/2669583002/diff/1/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc#newcode185 webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc:185: { "useinbandfec", "1" } On 2017/01/31 15:46:33, hlundin-webrtc wrote: ...
3 years, 10 months ago (2017-01-31 15:49:01 UTC) #5
kwiberg-webrtc
lgtm
3 years, 10 months ago (2017-02-03 13:54:45 UTC) #6
ossu
Thanks, kwiberg. Getting ready to land. ping stefan - Any comments on this one? It's ...
3 years, 10 months ago (2017-02-06 10:26:46 UTC) #7
stefan-webrtc
I think it looks good to me. I assume "network adaptation" is used because it ...
3 years, 10 months ago (2017-02-07 15:23:14 UTC) #12
ossu
On 2017/02/07 15:23:14, stefan-webrtc wrote: > I think it looks good to me. I assume ...
3 years, 10 months ago (2017-02-08 12:31:44 UTC) #13
stefan-webrtc
ok, lgtm
3 years, 10 months ago (2017-02-08 12:52:42 UTC) #14
ossu
The Android bots picked up an error no other tests managed to catch. It turns ...
3 years, 10 months ago (2017-02-08 17:57:46 UTC) #15
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2669583002/diff/100001/webrtc/media/engine/webrtcvoiceengine_unittest.cc File webrtc/media/engine/webrtcvoiceengine_unittest.cc (right): https://codereview.webrtc.org/2669583002/diff/100001/webrtc/media/engine/webrtcvoiceengine_unittest.cc#newcode3735 webrtc/media/engine/webrtcvoiceengine_unittest.cc:3735: return static_cast<int>(i); This is a test, so checked_cast? ...
3 years, 10 months ago (2017-02-09 05:26:44 UTC) #29
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/2669583002/100001
3 years, 10 months ago (2017-02-09 13:11:59 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:100001) as https://chromium.googlesource.com/external/webrtc/+/9def800b7055de678bd5bf464f06194bb94ccd2a
3 years, 10 months ago (2017-02-09 13:14:38 UTC) #35
ossu
3 years, 10 months ago (2017-02-09 19:59:58 UTC) #36
Message was sent while issue was closed.
I'll follow up with a tiny patch to fix these issues.

https://codereview.webrtc.org/2669583002/diff/100001/webrtc/media/engine/webr...
File webrtc/media/engine/webrtcvoiceengine_unittest.cc (right):

https://codereview.webrtc.org/2669583002/diff/100001/webrtc/media/engine/webr...
webrtc/media/engine/webrtcvoiceengine_unittest.cc:3727: // supplementary codecs
are orderd after the general codecs.
There's also a spelling error here.

https://codereview.webrtc.org/2669583002/diff/100001/webrtc/media/engine/webr...
webrtc/media/engine/webrtcvoiceengine_unittest.cc:3735: return
static_cast<int>(i);
On 2017/02/09 05:26:44, kwiberg-webrtc wrote:
> This is a test, so checked_cast? Not that it's likely to trigger, but still...

Hmm, now that you mention it, it probably should be checked_cast here. Since the
list iterated over is the one that gets generated by the code under test, it
could be of any size.

Powered by Google App Engine
This is Rietveld 408576698