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

Issue 2534173002: Wire up x-google-{min,start,max}-bitrate to WebRtcVoiceMediaChannel. (Closed)

Created:
4 years ago by stefan-webrtc
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Wire up x-google-{min,start,max}-bitrate to WebRtcVoiceMediaChannel. BUG=webrtc:6793 Committed: https://crrev.com/13f1a0a9cab1aaa872b37d3a3aa3e894659c71c2 Cr-Commit-Position: refs/heads/master@{#15337}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Clean up comment. #

Total comments: 12

Patch Set 4 : Most comments addressed. #

Patch Set 5 : Comment addressed. #

Patch Set 6 : . #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -27 lines) Patch
M webrtc/media/engine/webrtcmediaengine.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcmediaengine.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 1 chunk +0 lines, -26 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 3 chunks +14 lines, -1 line 4 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 2 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (9 generated)
stefan-webrtc
Clean up comment.
4 years ago (2016-11-29 13:26:42 UTC) #1
stefan-webrtc
An attempt to wire this up the same way it is used in webrtcvideoengine2.cc. Please ...
4 years ago (2016-11-29 13:27:29 UTC) #3
minyue-webrtc
please consider my comment inline. can discuss offline also https://codereview.webrtc.org/2534173002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2534173002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc#newcode1647 webrtc/media/engine/webrtcvoiceengine.cc:1647: ...
4 years ago (2016-11-29 22:10:55 UTC) #4
the sun
https://codereview.webrtc.org/2534173002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2534173002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc#newcode283 webrtc/media/engine/webrtcvoiceengine.cc:283: int bitrate_kbps; nit: always default init https://codereview.webrtc.org/2534173002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc#newcode295 webrtc/media/engine/webrtcvoiceengine.cc:295: config.start_bitrate_bps ...
4 years ago (2016-11-30 11:22:27 UTC) #5
stefan-webrtc
Comment addressed.
4 years ago (2016-11-30 11:42:30 UTC) #6
stefan-webrtc
.
4 years ago (2016-11-30 11:43:36 UTC) #7
stefan-webrtc
https://codereview.webrtc.org/2534173002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2534173002/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc#newcode283 webrtc/media/engine/webrtcvoiceengine.cc:283: int bitrate_kbps; On 2016/11/30 11:22:27, the sun wrote: > ...
4 years ago (2016-11-30 11:44:43 UTC) #8
the sun
lgtm, but consider my comment. https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc#newcode2009 webrtc/media/engine/webrtcvoiceengine.cc:2009: } If you move ...
4 years ago (2016-11-30 13:55:51 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc#newcode2009 webrtc/media/engine/webrtcvoiceengine.cc:2009: } On 2016/11/30 13:55:51, the sun wrote: > If ...
4 years ago (2016-11-30 14:15:30 UTC) #14
the sun
On 2016/11/30 14:15:30, stefan-webrtc (holmer) wrote: > https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc > File webrtc/media/engine/webrtcvoiceengine.cc (right): > > https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc#newcode2009 ...
4 years ago (2016-11-30 14:20:41 UTC) #15
minyue-webrtc
lgtm % one suggestion for you to decide https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2534173002/diff/100001/webrtc/media/engine/webrtcvoiceengine.cc#newcode1625 webrtc/media/engine/webrtcvoiceengine.cc:1625: call_->SetBitrateConfig(bitrate_config_); ...
4 years ago (2016-11-30 14:25:25 UTC) #16
stefan-webrtc
On 2016/11/30 14:20:41, the sun wrote: > On 2016/11/30 14:15:30, stefan-webrtc (holmer) wrote: > > ...
4 years ago (2016-11-30 14:44:35 UTC) #17
stefan-webrtc
Decided to make no changes. Let me know if you disagree, or I'll land this. ...
4 years ago (2016-11-30 14:52:24 UTC) #18
the sun
On 2016/11/30 14:44:35, stefan-webrtc (holmer) wrote: > On 2016/11/30 14:20:41, the sun wrote: > > ...
4 years ago (2016-11-30 15:07:50 UTC) #19
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/2534173002/100001
4 years ago (2016-11-30 15:21:05 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-11-30 15:23:05 UTC) #23
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/13f1a0a9cab1aaa872b37d3a3aa3e894659c71c2 Cr-Commit-Position: refs/heads/master@{#15337}
4 years ago (2016-11-30 15:23:11 UTC) #25
Taylor Brandstetter
Unless I'm mistaken, this CL will set the bitrate config for the whole call based ...
3 years, 9 months ago (2017-03-24 16:08:40 UTC) #27
hbos
On 2017/03/24 16:08:40, Taylor Brandstetter wrote: > Unless I'm mistaken, this CL will set the ...
3 years, 9 months ago (2017-03-24 16:43:04 UTC) #28
stefan-webrtc
3 years, 8 months ago (2017-04-04 08:27:12 UTC) #29
Message was sent while issue was closed.
On 2017/03/24 16:08:40, Taylor Brandstetter wrote:
> Unless I'm mistaken, this CL will set the bitrate config for the whole call
> based on the "x-google-{min,start,max}-bitrate" and "b=AS" for just the audio
m=
> section. This was already being done for the video "m=" section, but it's not
> right, as mentioned in a TODO by pbos.

Yes, that is unfortunately the way it is implemented and used. I think what we
want to do is to get rid of x-google-{min,start,max}-bitrate and promote using
RtpSender.SetParameters and, perhaps, the future RtpTransportController API for
setting BWE parameters.

Powered by Google App Engine
This is Rietveld 408576698