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

Issue 2163403002: Prepare for ICE-renomination (Closed)

Created:
4 years, 5 months ago by honghaiz3
Modified:
4 years, 4 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

Prepare for ICE renomination. Add an ICE nomination attribute. If a connection switched on the controlling side, increase the nomination value set in the attribute. The controlled side will also be ready for re-nomination option; it will switch if a nomination comes with a higher nomination value even though it may be at a lower priority. Plus, don't nominate or re-nominate if the nomination value at the current connection has been acknowledged. BUG= R=deadbeef@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/8cd8f817487d3cd7e973ab822505bc8a5f3ced6f Cr-Commit-Position: refs/heads/master@{#13631}

Patch Set 1 : . #

Total comments: 25

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : Add tests and keep aggressive nomination #

Patch Set 4 : . #

Patch Set 5 : Minor fix in the test #

Total comments: 5

Patch Set 6 : . #

Total comments: 44

Patch Set 7 : . #

Total comments: 8

Patch Set 8 : . #

Patch Set 9 : Updated comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -130 lines) Patch
M webrtc/p2p/base/p2ptransportchannel.h View 1 2 3 4 5 6 7 3 chunks +15 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 4 5 6 7 4 chunks +64 lines, -23 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 4 5 6 7 38 chunks +187 lines, -55 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 2 3 4 5 6 7 8 6 chunks +35 lines, -14 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 3 4 5 6 7 8 9 chunks +53 lines, -38 lines 0 comments Download
M webrtc/p2p/base/stun.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/p2p/base/transport.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (21 generated)
honghaiz3
This has pretty significant change on the ICE behavior. On the receiving-side, a client is ...
4 years, 5 months ago (2016-07-21 00:11:32 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1605 webrtc/p2p/base/p2ptransportchannel.cc:1605: use_candidate_attr = true; If I understand this right: When ...
4 years, 5 months ago (2016-07-22 17:36:01 UTC) #6
honghaiz3
Addressed comments. Still to add tests yet. https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1605 webrtc/p2p/base/p2ptransportchannel.cc:1605: use_candidate_attr = ...
4 years, 5 months ago (2016-07-22 22:50:11 UTC) #7
Taylor Brandstetter
Maybe we should have a design review with Peter. I still don't understand why what ...
4 years, 5 months ago (2016-07-22 23:48:29 UTC) #8
honghaiz3
Addressed the comments except for the part on whether we should do aggressive nomination if ...
4 years, 5 months ago (2016-07-25 22:24:41 UTC) #9
honghaiz3
https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1605 webrtc/p2p/base/p2ptransportchannel.cc:1605: use_candidate_attr = true; On 2016/07/22 23:48:28, Taylor Brandstetter wrote: ...
4 years, 4 months ago (2016-07-27 01:26:05 UTC) #12
honghaiz3
4 years, 4 months ago (2016-07-27 01:31:06 UTC) #14
honghaiz3
Added tests now. PTAL.
4 years, 4 months ago (2016-07-27 01:33:03 UTC) #15
Taylor Brandstetter
https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/port.cc File webrtc/p2p/base/port.cc (right): https://codereview.webrtc.org/2163403002/diff/40001/webrtc/p2p/base/port.cc#newcode1313 webrtc/p2p/base/port.cc:1313: << ICESTATE[state()] << "|" << nominated_value() << "|" << ...
4 years, 4 months ago (2016-07-27 22:20:55 UTC) #16
honghaiz3
I agree that with ICE-renomination, we should disable aggressive nomination when using ICE renomination. But ...
4 years, 4 months ago (2016-07-27 23:27:14 UTC) #17
honghaiz3
Changed to 1. If peer supports renomination, do renomination but not aggressive nomination (even though ...
4 years, 4 months ago (2016-07-28 04:19:15 UTC) #18
Taylor Brandstetter
lgtm. Even if the draft says we should fall back to regular nomination, I think ...
4 years, 4 months ago (2016-07-28 16:30:45 UTC) #19
pthatcher1
https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1144 webrtc/p2p/base/p2ptransportchannel.cc:1144: int cmp = a->nominated_value() - b->nominated_value(); I would call ...
4 years, 4 months ago (2016-07-28 22:57:26 UTC) #20
pthatcher1
https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1625 webrtc/p2p/base/p2ptransportchannel.cc:1625: } On 2016/07/28 22:57:25, pthatcher1 wrote: > I think ...
4 years, 4 months ago (2016-07-29 00:24:41 UTC) #21
honghaiz3
On 2016/07/28 16:30:45, Taylor Brandstetter wrote: > lgtm. Even if the draft says we should ...
4 years, 4 months ago (2016-08-03 04:43:41 UTC) #25
honghaiz3
PTAL. Thanks! https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1144 webrtc/p2p/base/p2ptransportchannel.cc:1144: int cmp = a->nominated_value() - b->nominated_value(); On ...
4 years, 4 months ago (2016-08-03 04:46:57 UTC) #27
pthatcher1
https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.h File webrtc/p2p/base/p2ptransportchannel.h (right): https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.h#newcode213 webrtc/p2p/base/p2ptransportchannel.h:213: } On 2016/08/03 04:46:56, honghaiz3 wrote: > On 2016/07/28 ...
4 years, 4 months ago (2016-08-03 22:13:25 UTC) #28
honghaiz3
Thanks! PTAL. https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.h File webrtc/p2p/base/p2ptransportchannel.h (right): https://codereview.webrtc.org/2163403002/diff/180001/webrtc/p2p/base/p2ptransportchannel.h#newcode213 webrtc/p2p/base/p2ptransportchannel.h:213: } On 2016/08/03 22:13:25, pthatcher1 wrote: > ...
4 years, 4 months ago (2016-08-03 23:39:52 UTC) #29
pthatcher1
lgtm At 10 switches per seconds, that's only 6.3 years of switches :). It's not ...
4 years, 4 months ago (2016-08-04 00:36:37 UTC) #30
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/2163403002/320001
4 years, 4 months ago (2016-08-04 01:12:34 UTC) #37
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/9843)
4 years, 4 months ago (2016-08-04 01:24:43 UTC) #39
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/2163403002/320001
4 years, 4 months ago (2016-08-04 02:43:35 UTC) #41
honghaiz3
4 years, 4 months ago (2016-08-04 02:51:01 UTC) #43
Message was sent while issue was closed.
Committed patchset #9 (id:320001) manually as
8cd8f817487d3cd7e973ab822505bc8a5f3ced6f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698