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

Issue 1904063003: Fixing the interaction between codec bitrate limit and "b=AS". (Closed)

Created:
4 years, 8 months ago by Taylor Brandstetter
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixing the interaction between codec bitrate limit and "b=AS". This fixes a problem where "b=AS" and "x-google-start-bitrate" can't be used together. It also starts taking the minimum of "b=AS" and "x-google-max-bitrate", instead of just letting "b=AS" win. BUG=webrtc:5811 R=pbos@webrtc.org Committed: https://crrev.com/58f2bd90f14f38af2280c7379fad7d12dc402c7e Cr-Commit-Position: refs/heads/master@{#12519}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Make "b=AS" take priority over "x-google-max-bitrate" for BWE max bitrate. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -23 lines) Patch
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 chunks +22 lines, -23 lines 1 comment Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
Taylor Brandstetter
https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc File webrtc/media/engine/webrtcvideoengine2_unittest.cc (right): https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc#newcode2436 webrtc/media/engine/webrtcvideoengine2_unittest.cc:2436: 400000); Previously, max_bandwidth_bps was allowed to increase the max ...
4 years, 8 months ago (2016-04-21 18:44:35 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc File webrtc/media/engine/webrtcvideoengine2_unittest.cc (right): https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc#newcode2436 webrtc/media/engine/webrtcvideoengine2_unittest.cc:2436: 400000); On 2016/04/21 18:44:35, Taylor Brandstetter wrote: > Previously, ...
4 years, 8 months ago (2016-04-21 18:57:24 UTC) #3
Taylor Brandstetter
On 2016/04/21 18:57:24, pbos-webrtc wrote: > https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc > File webrtc/media/engine/webrtcvideoengine2_unittest.cc (right): > > https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc#newcode2436 > ...
4 years, 7 months ago (2016-04-26 00:48:52 UTC) #5
pbos-webrtc
On 2016/04/26 00:48:52, Taylor Brandstetter wrote: > On 2016/04/21 18:57:24, pbos-webrtc wrote: > > > ...
4 years, 7 months ago (2016-04-26 15:01:00 UTC) #7
Taylor Brandstetter
On 2016/04/26 15:01:00, pbos-webrtc wrote: > On 2016/04/26 00:48:52, Taylor Brandstetter wrote: > > On ...
4 years, 7 months ago (2016-04-26 17:40:35 UTC) #8
pbos-webrtc
lgtm
4 years, 7 months ago (2016-04-26 22:28:49 UTC) #9
Taylor Brandstetter
Committed patchset #2 (id:20001) manually as 58f2bd90f14f38af2280c7379fad7d12dc402c7e (presubmit successful).
4 years, 7 months ago (2016-04-27 00:15:40 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/58f2bd90f14f38af2280c7379fad7d12dc402c7e Cr-Commit-Position: refs/heads/master@{#12519}
4 years, 7 months ago (2016-04-27 00:15:45 UTC) #13
Taylor Brandstetter
On 2016/04/27 00:15:45, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
4 years, 7 months ago (2016-04-27 00:19:51 UTC) #14
pbos-webrtc
On 2016/04/27 00:19:51, Taylor Brandstetter wrote: > On 2016/04/27 00:15:45, commit-bot: I haz the power ...
4 years, 7 months ago (2016-04-27 06:42:00 UTC) #15
stefan-webrtc
On 2016/04/26 15:01:00, pbos-webrtc wrote: > On 2016/04/26 00:48:52, Taylor Brandstetter wrote: > > On ...
4 years, 7 months ago (2016-04-27 07:24:09 UTC) #16
stefan-webrtc
4 years, 7 months ago (2016-04-27 07:24:41 UTC) #17
Message was sent while issue was closed.
https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvid...
File webrtc/media/engine/webrtcvideoengine2_unittest.cc (right):

https://codereview.webrtc.org/1904063003/diff/1/webrtc/media/engine/webrtcvid...
webrtc/media/engine/webrtcvideoengine2_unittest.cc:2436: 400000);
On 2016/04/21 18:57:24, pbos-webrtc wrote:
> On 2016/04/21 18:44:35, Taylor Brandstetter wrote:
> > Previously, max_bandwidth_bps was allowed to increase the max above the
codec
> > maximum. Was this intentional? This doesn't happen any more now that I'm
> taking
> > the minimum of the two maximums.
> 
> Yep, this was intentional, since we can apply FEC above the codec target
> bitrate.

Yes, what would otherwise happen if you have two send streams, one with a max of
200 and one with a max of 400? We don't want the max_bandwidth_bps to be limited
to 200 or 400.

https://codereview.webrtc.org/1904063003/diff/20001/webrtc/media/engine/webrt...
File webrtc/media/engine/webrtcvideoengine2.cc (right):

https://codereview.webrtc.org/1904063003/diff/20001/webrtc/media/engine/webrt...
webrtc/media/engine/webrtcvideoengine2.cc:833: // TODO(pbos): Figure out whether
b=AS means max bitrate for this
b=AS means session bandwidth, so my interpretation is that this is correct.

Powered by Google App Engine
This is Rietveld 408576698