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

Issue 2504023002: Implement periodic bandwidth probing in application-limited region. (Closed)

Created:
4 years, 1 month ago by Sergey Ulanov
Modified:
4 years ago
Reviewers:
philipel, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Implement periodic bandwidth probing in application-limited region. Now ProbeController can send periodic bandwidth probes when in application-limited region. This will allow to maintain correct bottleneck bandwidth estimate, even not all bandwidth is being used. The feature is not enabled by default, but can be enabled with a flag. Interval between probes is currently set to 5 seconds. BUG=webrtc:6332 Committed: https://crrev.com/80ed35e21cf747240778f27afceca1f2a3f704cc Cr-Commit-Position: refs/heads/master@{#15279}

Patch Set 1 : . #

Total comments: 19

Patch Set 2 : address feedback #

Total comments: 10

Patch Set 3 : address feedback #

Total comments: 2

Patch Set 4 : Address feedback #

Total comments: 6

Patch Set 5 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -62 lines) Patch
M webrtc/media/base/mediachannel.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/probe_controller.h View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M webrtc/modules/congestion_controller/probe_controller.cc View 1 2 3 4 6 chunks +75 lines, -29 lines 0 comments Download
M webrtc/modules/congestion_controller/probe_controller_unittest.cc View 1 2 4 chunks +58 lines, -3 lines 0 comments Download
M webrtc/modules/pacing/alr_detector.h View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M webrtc/modules/pacing/alr_detector.cc View 1 2 3 4 2 chunks +7 lines, -6 lines 0 comments Download
M webrtc/modules/pacing/alr_detector_unittest.cc View 1 2 3 1 chunk +14 lines, -14 lines 0 comments Download
M webrtc/modules/pacing/mock/mock_paced_sender.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.h View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 31 (16 generated)
Sergey Ulanov
4 years, 1 month ago (2016-11-16 00:44:25 UTC) #5
philipel
https://codereview.webrtc.org/2504023002/diff/60001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2504023002/diff/60001/webrtc/media/base/mediachannel.h#newcode134 webrtc/media/base/mediachannel.h:134: bool periodic_bandwidth_probing = false; Rename to something like |periodic_alr_probing| ...
4 years, 1 month ago (2016-11-16 14:59:16 UTC) #6
Sergey Ulanov
https://codereview.webrtc.org/2504023002/diff/60001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2504023002/diff/60001/webrtc/media/base/mediachannel.h#newcode134 webrtc/media/base/mediachannel.h:134: bool periodic_bandwidth_probing = false; On 2016/11/16 14:59:15, philipel wrote: ...
4 years, 1 month ago (2016-11-21 09:06:03 UTC) #7
philipel
https://codereview.webrtc.org/2504023002/diff/60001/webrtc/modules/congestion_controller/probe_controller.cc File webrtc/modules/congestion_controller/probe_controller.cc (right): https://codereview.webrtc.org/2504023002/diff/60001/webrtc/modules/congestion_controller/probe_controller.cc#newcode152 webrtc/modules/congestion_controller/probe_controller.cc:152: pacer_->GetApplicationLimitedRegionStartTime() && On 2016/11/21 09:06:03, Sergey Ulanov wrote: > ...
4 years, 1 month ago (2016-11-21 12:05:43 UTC) #10
Sergey Ulanov
https://codereview.webrtc.org/2504023002/diff/60001/webrtc/modules/congestion_controller/probe_controller.cc File webrtc/modules/congestion_controller/probe_controller.cc (right): https://codereview.webrtc.org/2504023002/diff/60001/webrtc/modules/congestion_controller/probe_controller.cc#newcode152 webrtc/modules/congestion_controller/probe_controller.cc:152: pacer_->GetApplicationLimitedRegionStartTime() && On 2016/11/21 12:05:42, philipel wrote: > On ...
4 years, 1 month ago (2016-11-21 19:28:19 UTC) #11
philipel
lgtm when final comment has been addressed. https://codereview.webrtc.org/2504023002/diff/120001/webrtc/modules/pacing/alr_detector.cc File webrtc/modules/pacing/alr_detector.cc (right): https://codereview.webrtc.org/2504023002/diff/120001/webrtc/modules/pacing/alr_detector.cc#newcode61 webrtc/modules/pacing/alr_detector.cc:61: return rtc::Optional<int64_t>(alr_started_time_ms_); ...
4 years, 1 month ago (2016-11-22 10:55:10 UTC) #12
philipel
https://codereview.webrtc.org/2504023002/diff/60001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2504023002/diff/60001/webrtc/video/video_send_stream.cc#newcode751 webrtc/video/video_send_stream.cc:751: if (config_->periodic_bandwidth_probing) On 2016/11/21 12:05:42, philipel wrote: > On ...
4 years, 1 month ago (2016-11-22 12:31:37 UTC) #13
Sergey Ulanov
Address feedback
4 years, 1 month ago (2016-11-22 23:19:52 UTC) #14
Sergey Ulanov
Address feedback
4 years, 1 month ago (2016-11-22 23:20:31 UTC) #15
Sergey Ulanov
https://codereview.webrtc.org/2504023002/diff/60001/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/2504023002/diff/60001/webrtc/video/video_send_stream.cc#newcode751 webrtc/video/video_send_stream.cc:751: if (config_->periodic_bandwidth_probing) On 2016/11/22 12:31:37, philipel wrote: > On ...
4 years, 1 month ago (2016-11-22 23:21:00 UTC) #17
stefan-webrtc
lgtm % comments. https://codereview.webrtc.org/2504023002/diff/140001/webrtc/modules/congestion_controller/probe_controller.cc File webrtc/modules/congestion_controller/probe_controller.cc (right): https://codereview.webrtc.org/2504023002/diff/140001/webrtc/modules/congestion_controller/probe_controller.cc#newcode194 webrtc/modules/congestion_controller/probe_controller.cc:194: estimated_bitrate_bps_ * 5 / 4); Make ...
4 years ago (2016-11-28 13:27:13 UTC) #22
Sergey Ulanov
https://codereview.webrtc.org/2504023002/diff/140001/webrtc/modules/congestion_controller/probe_controller.cc File webrtc/modules/congestion_controller/probe_controller.cc (right): https://codereview.webrtc.org/2504023002/diff/140001/webrtc/modules/congestion_controller/probe_controller.cc#newcode194 webrtc/modules/congestion_controller/probe_controller.cc:194: estimated_bitrate_bps_ * 5 / 4); On 2016/11/28 13:27:13, stefan-webrtc ...
4 years ago (2016-11-28 20:39:00 UTC) #23
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/2504023002/170001
4 years ago (2016-11-28 20:39:37 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:170001)
4 years ago (2016-11-28 21:11:18 UTC) #29
commit-bot: I haz the power
4 years ago (2016-11-28 21:11:31 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/80ed35e21cf747240778f27afceca1f2a3f704cc
Cr-Commit-Position: refs/heads/master@{#15279}

Powered by Google App Engine
This is Rietveld 408576698