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

Issue 1274013002: Bug 4865: Enable connectivity when the remote peer is on public internet. (Closed)

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

Description

WebRTC Bug 4865 Bug 4865: even without STUN/TURN, as long as the peer is on the open internet, the connectivity should work. This is actually a regression even for hangouts. We need to issue the 0.0.0.0 candidate into Port::candidates_ and filter it out later. The reason is that when we create connection, we need a local candidate to match the remote candidate. The same connection later will be updated with the prflx local candidate once the STUN ping response is received. BUG=webrtc:4865 R=juberti@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/38f8893235f3b80ae9ca89db66d62ca819b51c01 Committed: https://chromium.googlesource.com/external/webrtc/+/1147702958b7639eda2f7fe072103b95be59e5c0

Patch Set 1 #

Total comments: 30

Patch Set 2 : #

Patch Set 3 : #

Total comments: 25

Patch Set 4 : #

Total comments: 17

Patch Set 5 : address Peter's comments. #

Patch Set 6 : #

Total comments: 19

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -47 lines) Patch
M webrtc/base/ipaddress.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/base/ipaddress.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/base/ipaddress_unittest.cc View 1 2 3 4 5 6 7 1 chunk +13 lines, -0 lines 0 comments Download
M webrtc/p2p/client/portallocator_unittest.cc View 1 2 3 4 5 6 7 17 chunks +47 lines, -47 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
guoweis_webrtc
Now it's much simplified. PTAL.
5 years, 4 months ago (2015-08-06 00:04:41 UTC) #2
guoweis_webrtc
On 2015/08/06 00:04:41, guoweis wrote: > Now it's much simplified. PTAL. [1:33:0805/170046:INFO:port.cc(905)] Jingle:Conn[0x1099b7497420:audio:hipifZ4i:1:0:local:udp:0.0.0.0:58068->q6eYX3D4:1:2130714367:local:udp:54.160.208.69:11716|C--W|9079290933605842430|-]: Connection created ...
5 years, 4 months ago (2015-08-06 00:10:48 UTC) #3
juberti1
overall this looks like the right change. Several minor comments. https://codereview.webrtc.org/1274013002/diff/1/webrtc/base/virtualsocketserver.cc File webrtc/base/virtualsocketserver.cc (right): https://codereview.webrtc.org/1274013002/diff/1/webrtc/base/virtualsocketserver.cc#newcode289 ...
5 years, 4 months ago (2015-08-06 00:35:26 UTC) #4
pthatcher1
https://codereview.webrtc.org/1274013002/diff/1/webrtc/base/virtualsocketserver.cc File webrtc/base/virtualsocketserver.cc (right): https://codereview.webrtc.org/1274013002/diff/1/webrtc/base/virtualsocketserver.cc#newcode289 webrtc/base/virtualsocketserver.cc:289: // HACK(any_address): when the incoming packet is from a ...
5 years, 4 months ago (2015-08-06 01:06:19 UTC) #5
guoweis_webrtc
PTAL. https://codereview.webrtc.org/1274013002/diff/1/webrtc/base/virtualsocketserver.cc File webrtc/base/virtualsocketserver.cc (right): https://codereview.webrtc.org/1274013002/diff/1/webrtc/base/virtualsocketserver.cc#newcode289 webrtc/base/virtualsocketserver.cc:289: // HACK(any_address): when the incoming packet is from ...
5 years, 4 months ago (2015-08-06 08:50:07 UTC) #6
guoweis_webrtc
On 2015/08/06 08:50:07, guoweis wrote: > PTAL. > > https://codereview.webrtc.org/1274013002/diff/1/webrtc/base/virtualsocketserver.cc > File webrtc/base/virtualsocketserver.cc (right): > ...
5 years, 4 months ago (2015-08-06 20:23:34 UTC) #7
juberti1
Suggest adding a VSS unit test to test that 0.0.0.0 can send to 1.2.3.4, and ...
5 years, 4 months ago (2015-08-06 23:43:22 UTC) #8
guoweis_webrtc
PTAL. https://codereview.webrtc.org/1274013002/diff/40001/webrtc/base/virtualsocketserver.cc File webrtc/base/virtualsocketserver.cc (right): https://codereview.webrtc.org/1274013002/diff/40001/webrtc/base/virtualsocketserver.cc#newcode669 webrtc/base/virtualsocketserver.cc:669: // HACK(any_address): If we can't find a binding, ...
5 years, 4 months ago (2015-08-07 18:03:43 UTC) #9
pthatcher1
Just style/naming stuff now :) https://codereview.webrtc.org/1274013002/diff/80001/webrtc/base/virtualsocket_unittest.cc File webrtc/base/virtualsocket_unittest.cc (right): https://codereview.webrtc.org/1274013002/diff/80001/webrtc/base/virtualsocket_unittest.cc#newcode188 webrtc/base/virtualsocket_unittest.cc:188: // shouldn't be the ...
5 years, 4 months ago (2015-08-07 21:28:19 UTC) #11
guoweis_webrtc
added TCP support. PTAL. https://codereview.webrtc.org/1274013002/diff/80001/webrtc/base/virtualsocket_unittest.cc File webrtc/base/virtualsocket_unittest.cc (right): https://codereview.webrtc.org/1274013002/diff/80001/webrtc/base/virtualsocket_unittest.cc#newcode188 webrtc/base/virtualsocket_unittest.cc:188: // shouldn't be the destination. ...
5 years, 4 months ago (2015-08-13 14:17:28 UTC) #13
juberti1
Overall lgtm. Just minor comments. https://codereview.webrtc.org/1274013002/diff/140001/webrtc/base/virtualsocketserver.cc File webrtc/base/virtualsocketserver.cc (right): https://codereview.webrtc.org/1274013002/diff/140001/webrtc/base/virtualsocketserver.cc#newcode676 webrtc/base/virtualsocketserver.cc:676: return LookupBinding(sock_addr); Is there ...
5 years, 4 months ago (2015-08-13 21:24:00 UTC) #14
guoweis_webrtc
Committed patchset #7 (id:160001) manually as 38f8893235f3b80ae9ca89db66d62ca819b51c01 (presubmit successful).
5 years, 4 months ago (2015-08-14 05:24:18 UTC) #15
guoweis_webrtc
landing it now. https://codereview.webrtc.org/1274013002/diff/140001/webrtc/base/virtualsocketserver.cc File webrtc/base/virtualsocketserver.cc (right): https://codereview.webrtc.org/1274013002/diff/140001/webrtc/base/virtualsocketserver.cc#newcode676 webrtc/base/virtualsocketserver.cc:676: return LookupBinding(sock_addr); On 2015/08/13 21:23:59, juberti1 ...
5 years, 4 months ago (2015-08-14 05:24:25 UTC) #16
juberti1
lgtm, a couple minor comments to address in a followup https://codereview.webrtc.org/1274013002/diff/140001/webrtc/p2p/client/portallocator_unittest.cc File webrtc/p2p/client/portallocator_unittest.cc (right): https://codereview.webrtc.org/1274013002/diff/140001/webrtc/p2p/client/portallocator_unittest.cc#newcode142 ...
5 years, 4 months ago (2015-08-14 23:22:43 UTC) #17
guoweis_webrtc
On 2015/08/14 23:22:43, juberti1 wrote: > lgtm, a couple minor comments to address in a ...
5 years, 4 months ago (2015-08-15 16:28:33 UTC) #18
guoweis_webrtc
On 2015/08/14 23:22:43, juberti1 wrote: > lgtm, a couple minor comments to address in a ...
5 years, 4 months ago (2015-08-15 16:28:34 UTC) #19
guoweis_webrtc
Committed patchset #8 (id:180001) manually as 1147702958b7639eda2f7fe072103b95be59e5c0 (presubmit successful).
5 years, 4 months ago (2015-08-15 16:28:52 UTC) #20
juberti1
5 years, 4 months ago (2015-08-20 23:04:56 UTC) #21
Message was sent while issue was closed.
lgtm - thanks for doing that cleanup

Powered by Google App Engine
This is Rietveld 408576698