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

Issue 2125823004: Fixing problems with ICE candidate pair prioritization. (Closed)

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

Description

Fixing problems with ICE candidate pair prioritization. The main issue was that upon receiving a binding response with a srflx mapped address attribute, the local candidate was not updated from local to srflx. This means the two ICE agents view the same pair differently; one sees it as "X<->srflx" while the other sees it as "local<->X". This causes sub-optimal prioritization and could result in the wrong pair being selected if using aggressive nomination. The other issue was that TCP prflx candidates were not differentiated from UDP prflx candidates. This lead to TCP prflx candidates prioritized above TCP host candidates. After fixing these issues, I was able to re-enable many disabled tests, as well as restore the check for the candidate types of the controlled agent. BUG=webrtc:1953, webrtc:2383 R=honghaiz@webrtc.org, pthatcher@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/62351c9923b557b41e90c228ae8c3209a10796c5

Patch Set 1 #

Patch Set 2 : Fixing comment formatting. #

Total comments: 2

Patch Set 3 : Merge with master. #

Patch Set 4 : Fixing line length. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -149 lines) Patch
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 3 10 chunks +160 lines, -136 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 5 chunks +17 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Taylor Brandstetter
PTAL Peter and Honghai. Especially take a look at the changes to kMatrix. Remember that ...
4 years, 5 months ago (2016-07-07 00:28:34 UTC) #3
honghaiz3
lgtm. Nice fix!
4 years, 5 months ago (2016-07-22 20:26:00 UTC) #4
pthatcher1
https://codereview.webrtc.org/2125823004/diff/20001/webrtc/p2p/base/p2ptransportchannel_unittest.cc File webrtc/p2p/base/p2ptransportchannel_unittest.cc (right): https://codereview.webrtc.org/2125823004/diff/20001/webrtc/p2p/base/p2ptransportchannel_unittest.cc#newcode458 webrtc/p2p/base/p2ptransportchannel_unittest.cc:458: remote_type == expected.controlled_type); I'm so happy to see this ...
4 years, 4 months ago (2016-08-08 22:20:30 UTC) #5
pthatcher1
lgtm Nevermind, just go ahead and submit it.
4 years, 4 months ago (2016-08-08 22:20:45 UTC) #6
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/2125823004/40001
4 years, 4 months ago (2016-08-09 16:45:13 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds/4406)
4 years, 4 months ago (2016-08-09 17:21:30 UTC) #11
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/2125823004/40001
4 years, 4 months ago (2016-08-11 21:54:27 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/9480)
4 years, 4 months ago (2016-08-11 22:18:33 UTC) #15
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/62351c9923b557b41e90c228ae8c3209a10796c5 Cr-Commit-Position: refs/heads/master@{#13734}
4 years, 4 months ago (2016-08-11 23:05:21 UTC) #18
Taylor Brandstetter
4 years, 4 months ago (2016-08-11 23:05:22 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
62351c9923b557b41e90c228ae8c3209a10796c5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698