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

Issue 2381153002: Pace outgoing frames in frame scheduler to match target bitrate. (Closed)

Created:
4 years, 2 months ago by Sergey Ulanov
Modified:
4 years, 2 months ago
Reviewers:
Irfan
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pace outgoing frames in frame scheduler to match target bitrate. Previously WebrtcFrameSchedulerSimple was scheduling outgoing frames according to the target bitrate, but it wasn't limiting that bandwidth precisely, so it was possible for it to send more data than the network can deliver, which increases bufferbloat. Also now frames are rescheduled whenever target bitrate changes. BUG=645656 Committed: https://crrev.com/af3ebce990837650253c9ef7b2b058e6fa7bc575 Cr-Commit-Position: refs/heads/master@{#423374}

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -129 lines) Patch
M remoting/base/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A remoting/base/leaky_bucket.h View 1 1 chunk +51 lines, -0 lines 0 comments Download
A remoting/base/leaky_bucket.cc View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.h View 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/protocol/webrtc_frame_scheduler_simple.cc View 1 5 chunks +35 lines, -35 lines 0 comments Download
M remoting/test/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/test/fake_socket_factory.cc View 1 2 4 chunks +12 lines, -10 lines 0 comments Download
D remoting/test/leaky_bucket.h View 1 chunk +0 lines, -38 lines 0 comments Download
D remoting/test/leaky_bucket.cc View 1 chunk +0 lines, -41 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
Sergey Ulanov
4 years, 2 months ago (2016-09-29 22:01:46 UTC) #3
Irfan
https://codereview.chromium.org/2381153002/diff/1/remoting/base/leaky_bucket.h File remoting/base/leaky_bucket.h (right): https://codereview.chromium.org/2381153002/diff/1/remoting/base/leaky_bucket.h#newcode15 remoting/base/leaky_bucket.h:15: // |depth| is in bytes. |rate| is specified in ...
4 years, 2 months ago (2016-09-29 22:22:41 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/2381153002/diff/1/remoting/base/leaky_bucket.h File remoting/base/leaky_bucket.h (right): https://codereview.chromium.org/2381153002/diff/1/remoting/base/leaky_bucket.h#newcode15 remoting/base/leaky_bucket.h:15: // |depth| is in bytes. |rate| is specified in ...
4 years, 2 months ago (2016-09-29 23:25:21 UTC) #7
Irfan
lgtm
4 years, 2 months ago (2016-10-03 19:35:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2381153002/60001
4 years, 2 months ago (2016-10-03 23:37:05 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/307672) win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
4 years, 2 months ago (2016-10-04 00:16:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2381153002/80001
4 years, 2 months ago (2016-10-05 22:37:41 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 2 months ago (2016-10-06 01:15:03 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 01:18:30 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/af3ebce990837650253c9ef7b2b058e6fa7bc575
Cr-Commit-Position: refs/heads/master@{#423374}

Powered by Google App Engine
This is Rietveld 408576698