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

Issue 2243823002: Added ProbeBitrate(bitrate_bps, num_probes) to BitrateProber. (Closed)

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

Description

Added ProbeBitrate(bitrate_bps, num_probes) to BitrateProber. Also some minor cleanup. BUG=webrtc:5859 Committed: https://crrev.com/4a1ec1e639b0e78ca1f189b19205782c4b9ab0af Cr-Commit-Position: refs/heads/master@{#13760}

Patch Set 1 #

Patch Set 2 : Clean up api #

Total comments: 13

Patch Set 3 : Feedback fixes. #

Total comments: 2

Patch Set 4 : Don't modify container while iterating over it. #

Patch Set 5 : include for size_t #

Patch Set 6 : ... in header file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -46 lines) Patch
M webrtc/modules/pacing/bitrate_prober.h View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M webrtc/modules/pacing/bitrate_prober.cc View 1 2 3 5 3 chunks +27 lines, -32 lines 0 comments Download
M webrtc/modules/pacing/bitrate_prober_unittest.cc View 1 2 4 chunks +9 lines, -8 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (9 generated)
philipel
https://codereview.webrtc.org/2243823002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc File webrtc/modules/pacing/bitrate_prober.cc (right): https://codereview.webrtc.org/2243823002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc#newcode58 webrtc/modules/pacing/bitrate_prober.cc:58: void BitrateProber::OnIncomingPacket(size_t packet_size) { Instead of creating clusters and ...
4 years, 4 months ago (2016-08-12 12:53:44 UTC) #2
stefan-webrtc
https://codereview.webrtc.org/2243823002/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2243823002/diff/20001/webrtc/call/call.cc#newcode597 webrtc/call/call.cc:597: return; Is there a reason not to DCHECK? https://codereview.webrtc.org/2243823002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc ...
4 years, 4 months ago (2016-08-12 13:19:59 UTC) #3
philipel
https://codereview.webrtc.org/2243823002/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2243823002/diff/20001/webrtc/call/call.cc#newcode597 webrtc/call/call.cc:597: return; On 2016/08/12 13:19:58, stefan-webrtc (holmer) wrote: > Is ...
4 years, 4 months ago (2016-08-12 14:08:07 UTC) #4
philipel
4 years, 4 months ago (2016-08-12 14:08:43 UTC) #5
Irfan
Thanks for CCing on this change. I think the biggest change I make for expoential ...
4 years, 4 months ago (2016-08-12 14:57:15 UTC) #7
Irfan
Thanks for CCing on this change. I think the biggest change I make for expoential ...
4 years, 4 months ago (2016-08-12 14:57:16 UTC) #8
danilchap
https://codereview.webrtc.org/2243823002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc File webrtc/modules/pacing/bitrate_prober.cc (right): https://codereview.webrtc.org/2243823002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc#newcode76 webrtc/modules/pacing/bitrate_prober.cc:76: if (probing_state_ != ProbingState::kActive) wouldn't that activate probing even ...
4 years, 4 months ago (2016-08-12 15:13:34 UTC) #9
Irfan
https://codereview.chromium.org/2243823002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc File webrtc/modules/pacing/bitrate_prober.cc (right): https://codereview.chromium.org/2243823002/diff/20001/webrtc/modules/pacing/bitrate_prober.cc#newcode76 webrtc/modules/pacing/bitrate_prober.cc:76: if (probing_state_ != ProbingState::kActive) On 2016/08/12 15:13:34, danilchap wrote: ...
4 years, 4 months ago (2016-08-12 15:26:06 UTC) #10
danilchap
https://codereview.webrtc.org/2243823002/diff/40001/webrtc/modules/pacing/bitrate_prober.cc File webrtc/modules/pacing/bitrate_prober.cc (right): https://codereview.webrtc.org/2243823002/diff/40001/webrtc/modules/pacing/bitrate_prober.cc#newcode89 webrtc/modules/pacing/bitrate_prober.cc:89: ProbeAtBitrate(cluster.probe_bitrate_bps, cluster.max_probe_packets); Avoid implicitly modifying container you are iterating ...
4 years, 4 months ago (2016-08-12 15:30:26 UTC) #11
philipel
https://codereview.webrtc.org/2243823002/diff/40001/webrtc/modules/pacing/bitrate_prober.cc File webrtc/modules/pacing/bitrate_prober.cc (right): https://codereview.webrtc.org/2243823002/diff/40001/webrtc/modules/pacing/bitrate_prober.cc#newcode89 webrtc/modules/pacing/bitrate_prober.cc:89: ProbeAtBitrate(cluster.probe_bitrate_bps, cluster.max_probe_packets); On 2016/08/12 15:30:26, danilchap wrote: > Avoid ...
4 years, 4 months ago (2016-08-15 10:59:00 UTC) #12
stefan-webrtc
lgtm
4 years, 4 months ago (2016-08-15 13:08:33 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/2243823002/100001
4 years, 4 months ago (2016-08-15 16:23:14 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-15 18:51:10 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 18:51:18 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4a1ec1e639b0e78ca1f189b19205782c4b9ab0af
Cr-Commit-Position: refs/heads/master@{#13760}

Powered by Google App Engine
This is Rietveld 408576698