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

Issue 1413663004: Set pacer target bitrate to max of bwe and bitrate allocation. (Closed)

Created:
5 years, 2 months ago by sprang_webrtc
Modified:
5 years, 1 month ago
Reviewers:
stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), stefan-webrtc, tterriberry_mozilla.com, the sun, perkj_webrtc, andresp
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Set pacer target bitrate to max of bwe and bitrate allocation. ChannelGroup::OnNetWorkChanged() should not configure the pacer to send a lower bitrate than what bitrate_allocator has actually allocated (may be the case if min_bitrate is enforced, for instance). BUG= Committed: https://crrev.com/2f48d9412440942133c637d1e47264d5179b9b51 Cr-Commit-Position: refs/heads/master@{#10519}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments, added unittests #

Patch Set 3 : Rebase #

Patch Set 4 : As per offline discussion, removed test. Rebase, use CongestionController. #

Total comments: 2

Patch Set 5 : Fixed typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -13 lines) Patch
M webrtc/call/congestion_controller.cc View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download
M webrtc/modules/bitrate_controller/bitrate_allocator.cc View 1 2 3 1 chunk +10 lines, -7 lines 0 comments Download
M webrtc/modules/bitrate_controller/include/bitrate_allocator.h View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
sprang_webrtc
5 years, 2 months ago (2015-10-19 12:21:50 UTC) #2
mflodman
A first look and looping in Stefan too. https://codereview.webrtc.org/1413663004/diff/1/webrtc/video_engine/vie_channel_group.cc File webrtc/video_engine/vie_channel_group.cc (right): https://codereview.webrtc.org/1413663004/diff/1/webrtc/video_engine/vie_channel_group.cc#newcode385 webrtc/video_engine/vie_channel_group.cc:385: target_bitrate_bps ...
5 years, 2 months ago (2015-10-20 10:10:45 UTC) #4
stefan-webrtc
Can we add a test for this too? https://codereview.webrtc.org/1413663004/diff/1/webrtc/video_engine/vie_channel_group.cc File webrtc/video_engine/vie_channel_group.cc (right): https://codereview.webrtc.org/1413663004/diff/1/webrtc/video_engine/vie_channel_group.cc#newcode383 webrtc/video_engine/vie_channel_group.cc:383: uint32_t ...
5 years, 2 months ago (2015-10-20 10:13:47 UTC) #5
sprang_webrtc
https://codereview.webrtc.org/1413663004/diff/1/webrtc/video_engine/vie_channel_group.cc File webrtc/video_engine/vie_channel_group.cc (right): https://codereview.webrtc.org/1413663004/diff/1/webrtc/video_engine/vie_channel_group.cc#newcode383 webrtc/video_engine/vie_channel_group.cc:383: uint32_t allocated_bitrate = bitrate_allocator_->OnNetworkChanged( On 2015/10/20 10:13:47, stefan-webrtc (holmer) ...
5 years, 2 months ago (2015-10-21 08:09:16 UTC) #6
sprang_webrtc
On 2015/10/20 10:13:47, stefan-webrtc (holmer) wrote: > Can we add a test for this too? ...
5 years, 2 months ago (2015-10-21 08:11:21 UTC) #7
mflodman
So this code has moved quite a bit and I also plan to move bitrate ...
5 years, 2 months ago (2015-10-22 06:50:03 UTC) #8
sprang_webrtc
Moved this over to CongestionController and removed test for now. Let's get back to that ...
5 years, 1 month ago (2015-11-04 10:44:26 UTC) #9
stefan-webrtc
lgtm https://codereview.webrtc.org/1413663004/diff/60001/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1413663004/diff/60001/webrtc/call/congestion_controller.cc#newcode295 webrtc/call/congestion_controller.cc:295: // set the pacer bitrate to the maxaimum ...
5 years, 1 month ago (2015-11-05 11:10:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413663004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413663004/60001
5 years, 1 month ago (2015-11-05 11:11:28 UTC) #12
mflodman
lgtm
5 years, 1 month ago (2015-11-05 11:27:16 UTC) #14
sprang_webrtc
https://codereview.webrtc.org/1413663004/diff/60001/webrtc/call/congestion_controller.cc File webrtc/call/congestion_controller.cc (right): https://codereview.webrtc.org/1413663004/diff/60001/webrtc/call/congestion_controller.cc#newcode295 webrtc/call/congestion_controller.cc:295: // set the pacer bitrate to the maxaimum of ...
5 years, 1 month ago (2015-11-05 11:35:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413663004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413663004/80001
5 years, 1 month ago (2015-11-05 11:35:54 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-05 12:25:55 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 12:26:05 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2f48d9412440942133c637d1e47264d5179b9b51
Cr-Commit-Position: refs/heads/master@{#10519}

Powered by Google App Engine
This is Rietveld 408576698