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

Issue 2182603002: Bitrate prober and paced sender improvements (Closed)

Created:
4 years, 5 months ago by Irfan
Modified:
4 years, 4 months ago
Reviewers:
philipel, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Bitrate prober and paced sender improvements - Removes unnecessary casts to compute timedelta. - Renames ProbingState for clarity. This should help when we probe mid-call. - Enables probing by default to avoid checking on each incoming packet. - Removes duplicate probing state tracking in paced sender. These duplicate states were conflicting at times. - Removes passing through packets for bug 5307 which seems long fixed. - Cleanup handling of time_last_send_ms and avoid side effects of changing probing state at TimeUntilNextProbe(). - Clear cluster data when probing is restarted to avoid having old data after a reset. BUG=5859 R=stefan@webrtc.org Committed: https://crrev.com/6e11efa6dced914e6f0927db3fcc92d875ec2cf5 Cr-Commit-Position: refs/heads/master@{#13612}

Patch Set 1 : Bitrate prober and paced sender improvements #

Total comments: 14

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebased #

Total comments: 2

Patch Set 4 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -51 lines) Patch
M webrtc/modules/pacing/bitrate_prober.h View 1 2 3 2 chunks +18 lines, -3 lines 0 comments Download
M webrtc/modules/pacing/bitrate_prober.cc View 1 6 chunks +51 lines, -43 lines 0 comments Download
M webrtc/modules/pacing/bitrate_prober_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 2 3 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Irfan
Some improvements based on my reading of the code. Currently tested on tests, but will ...
4 years, 5 months ago (2016-07-25 17:18:28 UTC) #5
Irfan
Stefan, have you had a chance to look at this ?
4 years, 4 months ago (2016-07-28 23:23:33 UTC) #6
stefan-webrtc
Thanks for the improvements! https://codereview.webrtc.org/2182603002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc File webrtc/modules/pacing/bitrate_prober.cc (right): https://codereview.webrtc.org/2182603002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc#newcode94 webrtc/modules/pacing/bitrate_prober.cc:94: std::queue<ProbeCluster> empty_cluster_; No _ at ...
4 years, 4 months ago (2016-07-29 07:12:07 UTC) #7
philipel
Just some minor comments, but you should change the related bug from 5859 to webrtc:5859 ...
4 years, 4 months ago (2016-08-01 11:35:05 UTC) #8
Irfan
https://codereview.chromium.org/2182603002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc File webrtc/modules/pacing/bitrate_prober.cc (right): https://codereview.chromium.org/2182603002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc#newcode28 webrtc/modules/pacing/bitrate_prober.cc:28: static constexpr int kInactivityThresholdMs = 5000; On 2016/08/01 11:35:05, ...
4 years, 4 months ago (2016-08-01 18:29:47 UTC) #9
Irfan
PS#2 addresses comments and reverts the paused changes that are supposed to be fixed according ...
4 years, 4 months ago (2016-08-01 18:32:33 UTC) #11
stefan-webrtc
lgtm https://codereview.webrtc.org/2182603002/diff/80001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2182603002/diff/80001/webrtc/modules/pacing/bitrate_prober.h#newcode59 webrtc/modules/pacing/bitrate_prober.h:59: void ResetState(); Put methods after enums/classes
4 years, 4 months ago (2016-08-02 11:59:27 UTC) #12
Irfan
https://codereview.chromium.org/2182603002/diff/80001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.chromium.org/2182603002/diff/80001/webrtc/modules/pacing/bitrate_prober.h#newcode59 webrtc/modules/pacing/bitrate_prober.h:59: void ResetState(); On 2016/08/02 11:59:27, stefan-webrtc (holmer) wrote: > ...
4 years, 4 months ago (2016-08-02 16:44:30 UTC) #13
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/2182603002/100001
4 years, 4 months ago (2016-08-02 19:45:22 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/9805)
4 years, 4 months ago (2016-08-02 19:56:32 UTC) #18
Irfan
4 years, 4 months ago (2016-08-02 19:57:52 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:100001) manually as
6e11efa6dced914e6f0927db3fcc92d875ec2cf5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698