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

Issue 1455033004: Ping backup connection at a slower rate (Closed)

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

Ping backup connection at a slower rate and make it configurable from the app. Changed the decision on whether a connection is pingable: 1.Check whether a connection is a backup connection. A connection is considered as a backup connection only if the channel is complete, the connection is active and it is not the best connection. 2. Ping a non-backup connection if it is active and for backup connection, ping it at a slower rate. Note the default behavior is the same as before. Also cached the channel state since we are accessing it more often. BUG=webrtc:5034 R=pthatcher@webrtc.org Committed: https://crrev.com/381b4217cb36f434c56e399a852a0a15522a9596 Cr-Commit-Position: refs/heads/master@{#10900}

Patch Set 1 : #

Total comments: 24

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Merge with head, address comments #

Total comments: 8

Patch Set 4 : #

Total comments: 1

Patch Set 5 : Merge with head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -29 lines) Patch
M talk/app/webrtc/java/jni/peerconnection_jni.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/src/org/webrtc/PeerConnection.java View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M talk/app/webrtc/objc/RTCPeerConnectionInterface.mm View 1 2 3 5 chunks +7 lines, -3 lines 0 comments Download
M talk/app/webrtc/objc/public/RTCPeerConnectionInterface.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M talk/app/webrtc/peerconnectioninterface.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M talk/app/webrtc/webrtcsession.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 2 3 4 chunks +6 lines, -2 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 11 chunks +59 lines, -19 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 3 chunks +43 lines, -2 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/p2p/base/transport.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (28 generated)
honghaiz3
5 years, 1 month ago (2015-11-20 03:17:56 UTC) #7
pthatcher1
https://codereview.webrtc.org/1455033004/diff/100001/talk/app/webrtc/peerconnectioninterface.h File talk/app/webrtc/peerconnectioninterface.h (right): https://codereview.webrtc.org/1455033004/diff/100001/talk/app/webrtc/peerconnectioninterface.h#newcode257 talk/app/webrtc/peerconnectioninterface.h:257: int ice_backup_connection_ping_interval; We need to specify the unit of ...
5 years, 1 month ago (2015-11-20 05:34:38 UTC) #9
juberti
I think this could definitely benefit from a longer CL description outlining the overall approach.
5 years, 1 month ago (2015-11-20 06:09:48 UTC) #11
honghaiz3
I changed the default behavior to be the same as before in consideration that desktop ...
5 years, 1 month ago (2015-11-20 20:10:06 UTC) #17
pthatcher1
This seems good, but I really want to make sure we don't mess up the ...
5 years, 1 month ago (2015-11-21 00:18:27 UTC) #18
honghaiz3
A doc is separately shared. https://codereview.webrtc.org/1455033004/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1455033004/diff/180001/webrtc/p2p/base/p2ptransportchannel.cc#newcode300 webrtc/p2p/base/p2ptransportchannel.cc:300: TransportChannelState P2PTransportChannel::GetState() const { ...
5 years ago (2015-12-01 18:05:36 UTC) #19
pthatcher1
Good write up. Please leave a nice comment on UpdateChannelState basically saying "Make sure call ...
5 years ago (2015-12-01 19:40:25 UTC) #20
honghaiz3
https://codereview.webrtc.org/1455033004/diff/200001/talk/app/webrtc/java/jni/peerconnection_jni.cc File talk/app/webrtc/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1455033004/diff/200001/talk/app/webrtc/java/jni/peerconnection_jni.cc#newcode1556 talk/app/webrtc/java/jni/peerconnection_jni.cc:1556: jni, j_rtc_config_class, "iceBackupConnectionPingInterval", "I"); On 2015/12/01 19:40:25, pthatcher1 wrote: ...
5 years ago (2015-12-01 23:43:08 UTC) #23
pthatcher
lgtm https://codereview.webrtc.org/1455033004/diff/260001/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1455033004/diff/260001/webrtc/p2p/base/p2ptransportchannel.cc#newcode1071 webrtc/p2p/base/p2ptransportchannel.cc:1071: // example, we call this at the end ...
5 years ago (2015-12-02 19:18:24 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455033004/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455033004/260001
5 years ago (2015-12-02 19:44:10 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2121)
5 years ago (2015-12-02 19:47:53 UTC) #29
juberti
On 2015/12/02 19:47:53, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years ago (2015-12-02 19:59:10 UTC) #30
honghaiz3
On 2015/12/02 19:59:10, juberti wrote: > On 2015/12/02 19:47:53, commit-bot: I haz the power wrote: ...
5 years ago (2015-12-02 20:06:30 UTC) #31
honghaiz3
Zeke, Can you take a look at this CL?
5 years ago (2015-12-03 22:36:52 UTC) #33
honghaiz3
Peter, I think this needs an LGTM from your webrtc account.
5 years ago (2015-12-04 05:40:14 UTC) #34
tkchin_webrtc
On 2015/12/04 05:40:14, honghaiz3 wrote: > Peter, > > I think this needs an LGTM ...
5 years ago (2015-12-04 18:52:47 UTC) #36
pthatcher1
On 2015/12/04 18:52:47, tkchin_webrtc wrote: > On 2015/12/04 05:40:14, honghaiz3 wrote: > > Peter, > ...
5 years ago (2015-12-04 19:00:26 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455033004/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455033004/260001
5 years ago (2015-12-04 19:19:58 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_gn_dbg/builds/5697)
5 years ago (2015-12-04 19:24:12 UTC) #41
honghaiz3
On 2015/12/04 18:52:47, tkchin_webrtc wrote: > On 2015/12/04 05:40:14, honghaiz3 wrote: > > Peter, > ...
5 years ago (2015-12-04 20:01:28 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455033004/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455033004/260001
5 years ago (2015-12-04 20:03:19 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2200)
5 years ago (2015-12-04 20:05:11 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455033004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455033004/280001
5 years ago (2015-12-04 20:11:29 UTC) #49
honghaiz3
Committed patchset #5 (id:280001) manually as 381b4217cb36f434c56e399a852a0a15522a9596 (presubmit successful).
5 years ago (2015-12-04 20:24:19 UTC) #51
commit-bot: I haz the power
5 years ago (2015-12-04 20:24:21 UTC) #53
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/381b4217cb36f434c56e399a852a0a15522a9596
Cr-Commit-Position: refs/heads/master@{#10900}

Powered by Google App Engine
This is Rietveld 408576698