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

Issue 2628563003: Propagate packet pacing information to SenTimeHistory (Closed)

Created:
3 years, 11 months ago by philipel
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman, Sergey Ulanov
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Propagate packet pacing information to SenTimeHistory. In order to not make this CL too large I have broken it down into at least two steps. In this CL we only propagate the pacing information part of the way: webrtc::PacedSender::Process <--- propagate from here webrtc::PacedSender::SendPacket webrtc::PacketRouter::TimeToSendPacket webrtc::ModuleRtpRtcpImpl::TimeToSendPacket <--- to here webrtc::RTPSender::TimeToSendPacket webrtc::RTPSender::PrepareAndSendPacket webrtc::RTPSender::AddPacketToTransportFeedback webrtc::TransportFeedbackAdapter::AddPacket webrtc::SendTimeHistory::AddAndRemoveOld <--- goal is to propagte it here BUG=webrtc:6822 Review-Url: https://codereview.webrtc.org/2628563003 Cr-Commit-Position: refs/heads/master@{#16664} Committed: https://chromium.googlesource.com/external/webrtc/+/c7bf32a110af7f427e14c0dc32e3f3789e51c096

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : Added comment. #

Total comments: 7

Patch Set 4 : Part 1 #

Total comments: 8

Patch Set 5 : Feedback. #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase fix. #

Patch Set 8 : CurrentCluster() now returns PacedPacketInfo. #

Patch Set 9 : Moved PacketInfo::kNotAProbe to PacedPacketInfo::kNotAProbe. #

Total comments: 5

Patch Set 10 : Feedback fixes #

Patch Set 11 : Rebase #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -157 lines) Patch
M webrtc/modules/congestion_controller/delay_based_bwe.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -4 lines 0 comments Download
M webrtc/modules/congestion_controller/probe_bitrate_estimator.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/congestion_controller/transport_feedback_adapter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/include/module_common_types.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M webrtc/modules/pacing/bitrate_prober.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -7 lines 0 comments Download
M webrtc/modules/pacing/bitrate_prober.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +19 lines, -15 lines 0 comments Download
M webrtc/modules/pacing/bitrate_prober_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.h View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M webrtc/modules/pacing/paced_sender.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +11 lines, -9 lines 0 comments Download
M webrtc/modules/pacing/paced_sender_unittest.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +23 lines, -12 lines 0 comments Download
M webrtc/modules/pacing/packet_router.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/pacing/packet_router.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/pacing/packet_router_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +59 lines, -30 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/send_time_history_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +16 lines, -13 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/packet_sender.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/packet_sender.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 16 chunks +25 lines, -22 lines 0 comments Download
M webrtc/tools/event_log_visualizer/analyzer.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 63 (32 generated)
philipel
3 years, 11 months ago (2017-01-10 15:41:56 UTC) #3
nisse-webrtc
https://codereview.webrtc.org/2628563003/diff/20001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/20001/webrtc/modules/pacing/bitrate_prober.h#newcode24 webrtc/modules/pacing/bitrate_prober.h:24: virtual void OnProbingClusterCreated(int cluster_id, Please document what the parameters ...
3 years, 11 months ago (2017-01-10 16:04:41 UTC) #4
philipel
https://codereview.webrtc.org/2628563003/diff/20001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/20001/webrtc/modules/pacing/bitrate_prober.h#newcode24 webrtc/modules/pacing/bitrate_prober.h:24: virtual void OnProbingClusterCreated(int cluster_id, On 2017/01/10 16:04:41, nisse-webrtc wrote: ...
3 years, 11 months ago (2017-01-11 09:03:33 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2628563003/diff/20001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/20001/webrtc/modules/pacing/bitrate_prober.h#newcode24 webrtc/modules/pacing/bitrate_prober.h:24: virtual void OnProbingClusterCreated(int cluster_id, On 2017/01/11 09:03:33, philipel wrote: ...
3 years, 11 months ago (2017-01-11 09:10:32 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h#newcode25 webrtc/modules/pacing/bitrate_prober.h:25: // |cluster_id| = the id of the cluster. I ...
3 years, 11 months ago (2017-01-11 10:47:40 UTC) #7
philipel
https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h#newcode25 webrtc/modules/pacing/bitrate_prober.h:25: // |cluster_id| = the id of the cluster. On ...
3 years, 11 months ago (2017-01-11 12:08:04 UTC) #8
nisse-webrtc
https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h#newcode25 webrtc/modules/pacing/bitrate_prober.h:25: // |cluster_id| = the id of the cluster. On ...
3 years, 11 months ago (2017-01-11 12:33:39 UTC) #9
philipel
https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h#newcode25 webrtc/modules/pacing/bitrate_prober.h:25: // |cluster_id| = the id of the cluster. On ...
3 years, 11 months ago (2017-01-12 10:39:29 UTC) #10
nisse-webrtc
On 2017/01/12 10:39:29, philipel wrote: > https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h > File webrtc/modules/pacing/bitrate_prober.h (right): > > https://codereview.webrtc.org/2628563003/diff/40001/webrtc/modules/pacing/bitrate_prober.h#newcode25 > ...
3 years, 11 months ago (2017-01-12 11:25:27 UTC) #11
philipel
3 years, 11 months ago (2017-01-26 09:58:45 UTC) #14
nisse-webrtc
https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/include/module_common_types.h File webrtc/modules/include/module_common_types.h (right): https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/include/module_common_types.h#newcode542 webrtc/modules/include/module_common_types.h:542: int send_bitrate_bps = -1; You could consider using rtc::Optional ...
3 years, 10 months ago (2017-01-30 09:01:51 UTC) #15
philipel
https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/include/module_common_types.h File webrtc/modules/include/module_common_types.h (right): https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/include/module_common_types.h#newcode542 webrtc/modules/include/module_common_types.h:542: int send_bitrate_bps = -1; On 2017/01/30 09:01:50, nisse-webrtc wrote: ...
3 years, 10 months ago (2017-01-30 09:31:29 UTC) #16
philipel
3 years, 10 months ago (2017-01-30 09:48:20 UTC) #24
nisse-webrtc
https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/pacing/bitrate_prober.h#newcode28 webrtc/modules/pacing/bitrate_prober.h:28: struct ProbeCluster { On 2017/01/30 09:31:28, philipel wrote: > ...
3 years, 10 months ago (2017-01-30 10:02:48 UTC) #25
philipel
https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/pacing/bitrate_prober.h#newcode28 webrtc/modules/pacing/bitrate_prober.h:28: struct ProbeCluster { On 2017/01/30 10:02:48, nisse-webrtc wrote: > ...
3 years, 10 months ago (2017-01-30 11:58:05 UTC) #28
nisse-webrtc
On 2017/01/30 11:58:05, philipel wrote: > https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/pacing/bitrate_prober.h > File webrtc/modules/pacing/bitrate_prober.h (right): > > https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/pacing/bitrate_prober.h#newcode28 > ...
3 years, 10 months ago (2017-01-30 13:29:47 UTC) #29
philipel
On 2017/01/30 13:29:47, nisse-webrtc wrote: > On 2017/01/30 11:58:05, philipel wrote: > > > https://codereview.webrtc.org/2628563003/diff/60001/webrtc/modules/pacing/bitrate_prober.h ...
3 years, 10 months ago (2017-01-30 14:04:08 UTC) #30
nisse-webrtc
On 2017/01/30 14:04:08, philipel wrote: > On 2017/01/30 13:29:47, nisse-webrtc wrote: > > On 2017/01/30 ...
3 years, 10 months ago (2017-01-30 14:24:39 UTC) #31
philipel
On 2017/01/30 14:24:39, nisse-webrtc wrote: > On 2017/01/30 14:04:08, philipel wrote: > > On 2017/01/30 ...
3 years, 10 months ago (2017-01-30 15:51:46 UTC) #32
nisse-webrtc
On 2017/01/30 15:51:46, philipel wrote: > On 2017/01/30 14:24:39, nisse-webrtc wrote: > > On 2017/01/30 ...
3 years, 10 months ago (2017-01-31 09:06:26 UTC) #33
nisse-webrtc
I think part of the confusion is that there are actually *three* related structs: 1. ...
3 years, 10 months ago (2017-02-02 13:25:15 UTC) #38
philipel
On 2017/02/02 13:25:15, nisse-webrtc wrote: > I think part of the confusion is that there ...
3 years, 10 months ago (2017-02-02 15:38:15 UTC) #39
philipel
https://codereview.webrtc.org/2628563003/diff/160001/webrtc/modules/pacing/bitrate_prober.h File webrtc/modules/pacing/bitrate_prober.h (right): https://codereview.webrtc.org/2628563003/diff/160001/webrtc/modules/pacing/bitrate_prober.h#newcode78 webrtc/modules/pacing/bitrate_prober.h:78: int min_probes = 0; On 2017/02/02 13:25:15, nisse-webrtc wrote: ...
3 years, 10 months ago (2017-02-02 15:38:38 UTC) #40
nisse-webrtc
lgtm. Thanks for the consistency improvements.
3 years, 10 months ago (2017-02-02 15:47:27 UTC) #41
philipel
stefan, PTAL
3 years, 10 months ago (2017-02-02 17:00:15 UTC) #48
philipel
ping
3 years, 10 months ago (2017-02-16 12:27:05 UTC) #51
stefan-webrtc
lgtm
3 years, 10 months ago (2017-02-16 12:35:42 UTC) #52
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/2628563003/200001
3 years, 10 months ago (2017-02-16 12:56:14 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/13559)
3 years, 10 months ago (2017-02-16 13:00:08 UTC) #57
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/2628563003/220001
3 years, 10 months ago (2017-02-17 10:21:53 UTC) #60
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 11:59:52 UTC) #63
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/external/webrtc/+/c7bf32a110af7f427e14c0dc3...

Powered by Google App Engine
This is Rietveld 408576698