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

Issue 1311433009: A few updates on connection states (Closed)

Created:
5 years, 3 months ago by honghaiz3
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, juberti1
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

1. Add receiving state as part of the connection sorting criteria. So if a connection's receiving state changes, it will re-select a better connection if there is any. This will paves the way for continuous nomination lite and multi-networking. 2. Combined checking and pinging to remove some redundant checking and to make it switch to more frequent ping mode earlier. Committed: https://crrev.com/a58ea7806a039c14e1f92a0757123062963b44b1 Cr-Commit-Position: refs/heads/master@{#10057}

Patch Set 1 : #

Total comments: 48

Patch Set 2 : #

Total comments: 11

Patch Set 3 : Merge and address comments #

Total comments: 12

Patch Set 4 : Dropping changes on pruning and write_stale state. #

Total comments: 16

Patch Set 5 : #

Patch Set 6 : Merge with transport controller refractoring #

Patch Set 7 : Merge with the head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -82 lines) Patch
M webrtc/p2p/base/p2ptransportchannel.h View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 4 5 17 chunks +90 lines, -68 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 4 5 3 chunks +71 lines, -10 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 72 (46 generated)
honghaiz3
Working on the unittests. Will be great if you have any early comments.
5 years, 3 months ago (2015-09-14 19:31:46 UTC) #11
pthatcher1
This is going to need a lot of unit tests :). https://codereview.webrtc.org/1311433009/diff/220001/talk/app/webrtc/statstypes.cc File talk/app/webrtc/statstypes.cc (right): ...
5 years, 3 months ago (2015-09-17 05:58:42 UTC) #15
honghaiz3
I created a new CL for the receiving state change only but this one will ...
5 years, 3 months ago (2015-09-17 19:47:58 UTC) #18
pthatcher1
This will be easier to read once it's rebased on the one you split off. ...
5 years, 3 months ago (2015-09-17 22:01:18 UTC) #19
honghaiz3
https://codereview.webrtc.org/1311433009/diff/300001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1311433009/diff/300001/webrtc/p2p/base/p2ptransportchannel.cc#newcode38 webrtc/p2p/base/p2ptransportchannel.cc:38: static const uint32 WEAK_PING_DELAY = 1000 * PING_PACKET_SIZE / ...
5 years, 3 months ago (2015-09-21 22:53:42 UTC) #24
honghaiz3
https://codereview.webrtc.org/1311433009/diff/300001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1311433009/diff/300001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1030 webrtc/p2p/base/p2ptransportchannel.cc:1030: conn->Prune(true); On 2015/09/21 22:53:41, honghaiz3 wrote: > On 2015/09/17 ...
5 years, 3 months ago (2015-09-21 23:17:15 UTC) #29
pthatcher1
I think we need some more unit tests and some more clear documentation at the ...
5 years, 3 months ago (2015-09-21 23:49:19 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311433009/560001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311433009/560001
5 years, 3 months ago (2015-09-22 06:31:14 UTC) #34
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-22 06:31:19 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311433009/610001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311433009/610001
5 years, 3 months ago (2015-09-22 07:28:01 UTC) #40
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-22 07:28:05 UTC) #42
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311433009/610001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311433009/610001
5 years, 3 months ago (2015-09-22 07:56:15 UTC) #44
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-22 07:56:20 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311433009/650001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311433009/650001
5 years, 3 months ago (2015-09-22 19:26:52 UTC) #49
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-22 19:26:57 UTC) #52
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311433009/650001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311433009/650001
5 years, 3 months ago (2015-09-22 19:31:33 UTC) #56
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-22 19:31:38 UTC) #58
honghaiz3
Removed the changes on pruning and write_stale state. The only thing left now is that ...
5 years, 3 months ago (2015-09-22 19:35:08 UTC) #59
pthatcher1
Mostly little things. I'm mostly worried about the loss in precision of when we notice ...
5 years, 3 months ago (2015-09-22 23:41:46 UTC) #60
honghaiz3
PTAL. https://codereview.webrtc.org/1311433009/diff/650001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1311433009/diff/650001/webrtc/p2p/base/p2ptransportchannel.cc#newcode87 webrtc/p2p/base/p2ptransportchannel.cc:87: return -1; On 2015/09/22 23:41:46, pthatcher1 wrote: > ...
5 years, 3 months ago (2015-09-23 03:16:10 UTC) #62
pthatcher1
lgtm, Although the TransportController CL was reverted again, so you'll have to wait until it ...
5 years, 3 months ago (2015-09-23 10:27:16 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311433009/730001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311433009/730001
5 years, 3 months ago (2015-09-24 01:05:45 UTC) #65
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_asan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_asan/builds/9521)
5 years, 3 months ago (2015-09-24 01:18:32 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311433009/730001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311433009/730001
5 years, 3 months ago (2015-09-24 15:12:17 UTC) #70
commit-bot: I haz the power
Committed patchset #7 (id:730001)
5 years, 3 months ago (2015-09-24 15:13:41 UTC) #71
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 15:13:53 UTC) #72
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a58ea7806a039c14e1f92a0757123062963b44b1
Cr-Commit-Position: refs/heads/master@{#10057}

Powered by Google App Engine
This is Rietveld 408576698