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

Issue 1815473002: Add 16-bit network id to the candidate signaling. (Closed)

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

Add 16-bit network id to the candidate signaling. Also include that in the stun-ping request as part of the network-info attribute. Change the network cost to be 16 bits. BUG= Committed: https://crrev.com/a0c44eaa82de0c33a94b2eb06fa1dd89fd27aa60 Cr-Commit-Position: refs/heads/master@{#12110}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : Remove the old NETWORK_COST attribute. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -46 lines) Patch
M webrtc/api/webrtcsdp.cc View 5 chunks +12 lines, -3 lines 0 comments Download
M webrtc/api/webrtcsdp_unittest.cc View 3 chunks +30 lines, -0 lines 0 comments Download
M webrtc/base/network.h View 1 3 chunks +11 lines, -0 lines 0 comments Download
M webrtc/base/network.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/network_unittest.cc View 1 4 chunks +9 lines, -0 lines 0 comments Download
M webrtc/base/networkmonitor.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/p2p/base/candidate.h View 8 chunks +23 lines, -11 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 1 chunk +13 lines, -8 lines 0 comments Download
M webrtc/p2p/base/port.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/port.cc View 3 chunks +12 lines, -20 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 2 chunks +49 lines, -0 lines 0 comments Download
M webrtc/p2p/base/stun.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
honghaiz3
PTAL.
4 years, 9 months ago (2016-03-18 01:03:07 UTC) #6
pthatcher1
https://codereview.webrtc.org/1815473002/diff/80001/webrtc/base/network.cc File webrtc/base/network.cc (right): https://codereview.webrtc.org/1815473002/diff/80001/webrtc/base/network.cc#newcode289 webrtc/base/network.cc:289: net->set_id(next_available_network_id_++); Should we skip the 0-value if it rolls ...
4 years, 9 months ago (2016-03-21 17:49:24 UTC) #7
honghaiz3
PTAL. Thanks! https://codereview.webrtc.org/1815473002/diff/80001/webrtc/base/network.cc File webrtc/base/network.cc (right): https://codereview.webrtc.org/1815473002/diff/80001/webrtc/base/network.cc#newcode289 webrtc/base/network.cc:289: net->set_id(next_available_network_id_++); On 2016/03/21 17:49:24, pthatcher1 wrote: > ...
4 years, 9 months ago (2016-03-22 16:30:03 UTC) #8
pthatcher1
https://codereview.webrtc.org/1815473002/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1815473002/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc#newcode630 webrtc/p2p/base/p2ptransportchannel.cc:630: (cost_attr) ? static_cast<uint16_t>(cost_attr->value()) : 0; On 2016/03/22 16:30:03, honghaiz3 ...
4 years, 9 months ago (2016-03-22 21:12:10 UTC) #9
honghaiz3
https://codereview.webrtc.org/1815473002/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1815473002/diff/80001/webrtc/p2p/base/p2ptransportchannel.cc#newcode630 webrtc/p2p/base/p2ptransportchannel.cc:630: (cost_attr) ? static_cast<uint16_t>(cost_attr->value()) : 0; On 2016/03/22 21:12:09, pthatcher1 ...
4 years, 9 months ago (2016-03-23 18:59:33 UTC) #10
pthatcher1
lgtm
4 years, 9 months ago (2016-03-23 22:35:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815473002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815473002/120001
4 years, 9 months ago (2016-03-23 23:02:46 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:120001)
4 years, 9 months ago (2016-03-23 23:07:53 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 23:07:58 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a0c44eaa82de0c33a94b2eb06fa1dd89fd27aa60
Cr-Commit-Position: refs/heads/master@{#12110}

Powered by Google App Engine
This is Rietveld 408576698