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

Issue 1920123002: Cap the send bitrate for opus and iSAC before passing down to VoE. (Closed)

Created:
4 years, 8 months ago by Taylor Brandstetter
Modified:
4 years, 7 months ago
Reviewers:
the sun
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

Cap the send bitrate for opus and iSAC before passing down to VoE. The voice engine expects send bitrates no more than the maximum for the codec. For example, 510kbps for opus. So if "b=AS" sets a maximum above the codec maximum, WebRtcVoiceEngine needs to cap it. BUG=603690 Committed: https://crrev.com/8034614b817810f33ad193d8fa5c460bc6c28276 Cr-Commit-Position: refs/heads/master@{#12537}

Patch Set 1 #

Patch Set 2 : Fixing formatting and copy/paste mistake. #

Total comments: 3

Patch Set 3 : Combining "is multi rate" and "max bitrate" into one field/function. #

Total comments: 1

Patch Set 4 : Reverting patch set 3. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -50 lines) Patch
M webrtc/media/engine/webrtcvoiceengine.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 3 10 chunks +47 lines, -29 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 4 chunks +22 lines, -18 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
Taylor Brandstetter
solenberg@, PTAL
4 years, 8 months ago (2016-04-26 00:14:50 UTC) #2
the sun
https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc#newcode505 webrtc/media/engine/webrtcvoiceengine.cc:505: {kG722CodecName, 8000, 1, 9, false, {10, 20, 30, 40, ...
4 years, 8 months ago (2016-04-26 09:35:06 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc#newcode505 webrtc/media/engine/webrtcvoiceengine.cc:505: {kG722CodecName, 8000, 1, 9, false, {10, 20, 30, 40, ...
4 years, 8 months ago (2016-04-26 17:14:04 UTC) #4
the sun
https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc#newcode505 webrtc/media/engine/webrtcvoiceengine.cc:505: {kG722CodecName, 8000, 1, 9, false, {10, 20, 30, 40, ...
4 years, 8 months ago (2016-04-26 18:33:34 UTC) #5
the sun
On 2016/04/26 18:33:34, the sun wrote: > https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc > File webrtc/media/engine/webrtcvoiceengine.cc (right): > > https://codereview.webrtc.org/1920123002/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc#newcode505 ...
4 years, 8 months ago (2016-04-26 18:45:33 UTC) #6
Taylor Brandstetter
Alright, take a look. I still think it may be clearer if there were separate ...
4 years, 8 months ago (2016-04-26 20:46:44 UTC) #7
The Sun (google.com)
https://codereview.webrtc.org/1920123002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1920123002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc#newcode426 webrtc/media/engine/webrtcvoiceengine.cc:426: // Nonempty if it's a multirate codec. Ah, what ...
4 years, 8 months ago (2016-04-26 22:18:08 UTC) #9
Taylor Brandstetter
On 2016/04/26 22:18:08, The Sun (google.com) wrote: > https://codereview.webrtc.org/1920123002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc > File webrtc/media/engine/webrtcvoiceengine.cc (right): > > ...
4 years, 8 months ago (2016-04-26 23:00:38 UTC) #10
the sun
lgtm
4 years, 7 months ago (2016-04-27 08:06:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920123002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920123002/60001
4 years, 7 months ago (2016-04-27 19:52:10 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-04-27 21:17:15 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:01:00 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8034614b817810f33ad193d8fa5c460bc6c28276
Cr-Commit-Position: refs/heads/master@{#12537}

Powered by Google App Engine
This is Rietveld 408576698