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

Issue 2546613003: Fix exponential probing in ProbeController. (Closed)

Created:
4 years ago by Sergey Ulanov
Modified:
4 years ago
Reviewers:
philipel, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix exponential probing in ProbeController. https://codereview.webrtc.org/2504023002 broke exponential probing. After that change ProbeController stops exponential probes prematurely: it goes to kProbingComplete state if SetEstimatedBitrate() is called with bitrate lower than min_bitrate_to_probe_further_bps_, which always happens with the first pair of probes. As result it wasn't sending repeated probes as it should. This change fixes that issue by moving probe expieration logic to ProbeContoller::Process(). This also ensures that the controller goes to kProbingComplete state as soon as probing timeout expired, without waiting for the next SetEstimatedBitrate() call. BUG=669421 Committed: https://crrev.com/9cef11b75e5173cef3995155f5de80f8710fccae Cr-Commit-Position: refs/heads/master@{#15392}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -24 lines) Patch
M webrtc/modules/congestion_controller/probe_controller.cc View 3 chunks +21 lines, -23 lines 0 comments Download
M webrtc/modules/congestion_controller/probe_controller_unittest.cc View 4 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
Sergey Ulanov
4 years ago (2016-12-01 01:02:43 UTC) #2
philipel
lgtm
4 years ago (2016-12-01 09:21:37 UTC) #3
philipel
Just realized, it would be good if we added a unittest that test this behavior.
4 years ago (2016-12-02 12:35:51 UTC) #4
stefan-webrtc
lgtm % test added as philip suggests
4 years ago (2016-12-02 12:41:17 UTC) #5
Sergey Ulanov
On 2016/12/02 12:41:17, stefan-webrtc (holmer) wrote: > lgtm % test added as philip suggests There ...
4 years ago (2016-12-02 18:38:03 UTC) #6
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/2546613003/1
4 years ago (2016-12-02 18:38:12 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-02 19:03:04 UTC) #10
commit-bot: I haz the power
4 years ago (2016-12-02 19:03:16 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9cef11b75e5173cef3995155f5de80f8710fccae
Cr-Commit-Position: refs/heads/master@{#15392}

Powered by Google App Engine
This is Rietveld 408576698