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

Issue 326783002: Cast: Updated congestion control (Closed)

Created:
6 years, 6 months ago by hubbe
Modified:
6 years, 6 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Cast: Updated congestion control This tries to update the bandwidth used to what is available. The algorithm is essentially that we estimate how much bandwidth we've been sending recently. Then we check how full our buffers are. We set a target for having our buffers be 90% empty. If the buffer is more than 90% empty, we use more bandwidth than the resently sent, if the buffer is less than 90% empty, we use less. This change should be relatively safe since we normally set our min and max bandwidth to a very limited range, and this change respects those limits. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276611

Patch Set 1 #

Patch Set 2 : merge #

Total comments: 28

Patch Set 3 : comments addressed #

Patch Set 4 : comments addressed #

Patch Set 5 : bugfix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -275 lines) Patch
M media/cast/congestion_control/congestion_control.h View 1 2 3 2 chunks +50 lines, -11 lines 0 comments Download
M media/cast/congestion_control/congestion_control.cc View 1 2 3 4 2 chunks +161 lines, -86 lines 0 comments Download
M media/cast/congestion_control/congestion_control_unittest.cc View 1 2 3 2 chunks +82 lines, -143 lines 0 comments Download
M media/cast/video_sender/video_sender.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 8 chunks +25 lines, -29 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
hubbe
6 years, 6 months ago (2014-06-09 22:03:28 UTC) #1
Alpha Left Google
https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc File media/cast/congestion_control/congestion_control.cc (right): https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc#newcode14 media/cast/congestion_control/congestion_control.cc:14: // This means that we *try* to keep our ...
6 years, 6 months ago (2014-06-10 22:20:39 UTC) #2
Alpha Left Google
By the way Patrik had make some comments about delaying sensing approach similar to this ...
6 years, 6 months ago (2014-06-10 22:37:07 UTC) #3
hubbe
https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc File media/cast/congestion_control/congestion_control.cc (right): https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc#newcode14 media/cast/congestion_control/congestion_control.cc:14: // This means that we *try* to keep our ...
6 years, 6 months ago (2014-06-11 00:04:15 UTC) #4
hubbe
On 2014/06/10 22:37:07, Alpha wrote: > By the way Patrik had make some comments about ...
6 years, 6 months ago (2014-06-11 00:14:16 UTC) #5
Alpha Left Google
https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc File media/cast/congestion_control/congestion_control.cc (right): https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc#newcode73 media/cast/congestion_control/congestion_control.cc:73: return acked_bits_in_history_ / transmit_time; Okay. https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc#newcode99 media/cast/congestion_control/congestion_control.cc:99: DCHECK_LT(offset, static_cast<int32>(frame_stats_.size())); ...
6 years, 6 months ago (2014-06-11 01:16:28 UTC) #6
hubbe
https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc File media/cast/congestion_control/congestion_control.cc (right): https://codereview.chromium.org/326783002/diff/20001/media/cast/congestion_control/congestion_control.cc#newcode99 media/cast/congestion_control/congestion_control.cc:99: DCHECK_LT(offset, static_cast<int32>(frame_stats_.size())); On 2014/06/11 01:16:28, Alpha wrote: > On ...
6 years, 6 months ago (2014-06-11 07:11:48 UTC) #7
Alpha Left Google
Note: CongestionControlTest fails on win_chromium_rel.
6 years, 6 months ago (2014-06-11 17:32:19 UTC) #8
hubbe
On 2014/06/11 17:32:19, Alpha wrote: > Note: CongestionControlTest fails on win_chromium_rel. Tests now pass again. ...
6 years, 6 months ago (2014-06-11 22:35:46 UTC) #9
Alpha Left Google
Okay. LGTM.
6 years, 6 months ago (2014-06-11 22:55:14 UTC) #10
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-11 23:01:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/326783002/70001
6 years, 6 months ago (2014-06-11 23:03:24 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 00:16:50 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 00:20:01 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/26352)
6 years, 6 months ago (2014-06-12 00:20:03 UTC) #15
hubbe
The CQ bit was checked by hubbe@chromium.org
6 years, 6 months ago (2014-06-12 04:56:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/326783002/70001
6 years, 6 months ago (2014-06-12 04:58:31 UTC) #17
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 09:55:45 UTC) #18
Message was sent while issue was closed.
Change committed as 276611

Powered by Google App Engine
This is Rietveld 408576698