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

Issue 2670053002: Allow applications to limit the ICE check rate through RTCConfiguration (Closed)

Created:
3 years, 10 months ago by skvlad
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Allow applications to limit the ICE check rate through RTCConfiguration If an application sets a non-null value in RTCConfiguration.iceCheckMinInterval, we do not sent STUN pings more often than that. This is useful for bandwidth constrained scenarios. This CL also increases the maximum STUN ping timeout to 60 seconds up from its previous value of 5 (which meant that a ping response received 5 seconds later would not be counted), and allows the RTT estimate to go up to 60 seconds from its previous limit of 3. RTTs above 3 seconds are possible on mobile links. (webrtc:7109) This CL was originally written by pthatcher@, I am just submitting it after a minor cleanup. BUG=webrtc:7082, webrtc:7109 Review-Url: https://codereview.webrtc.org/2670053002 Cr-Commit-Position: refs/heads/master@{#16421} Committed: https://chromium.googlesource.com/external/webrtc/+/5107246d4bf4048ca3eb428107bfccf7d757d667

Patch Set 1 #

Patch Set 2 : Update tests that relied on the wrong timeouts #

Total comments: 14

Patch Set 3 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -9 lines) Patch
M webrtc/api/peerconnectioninterface.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/base/jseptransport.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 4 chunks +10 lines, -4 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/port.h View 1 chunk +4 lines, -1 line 0 comments Download
M webrtc/p2p/base/port.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/pc/peerconnection.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/pc/webrtcsession.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/sdk/android/api/org/webrtc/PeerConnection.java View 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/sdk/android/src/jni/peerconnection_jni.cc View 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
skvlad
3 years, 10 months ago (2017-02-02 06:19:40 UTC) #8
Taylor Brandstetter
https://codereview.webrtc.org/2670053002/diff/20001/webrtc/api/peerconnectioninterface.h File webrtc/api/peerconnectioninterface.h (right): https://codereview.webrtc.org/2670053002/diff/20001/webrtc/api/peerconnectioninterface.h#newcode384 webrtc/api/peerconnectioninterface.h:384: // (STUN pings), in milliseconds. Nit: The variable could ...
3 years, 10 months ago (2017-02-02 07:03:55 UTC) #11
skvlad
https://codereview.webrtc.org/2670053002/diff/20001/webrtc/api/peerconnectioninterface.h File webrtc/api/peerconnectioninterface.h (right): https://codereview.webrtc.org/2670053002/diff/20001/webrtc/api/peerconnectioninterface.h#newcode384 webrtc/api/peerconnectioninterface.h:384: // (STUN pings), in milliseconds. On 2017/02/02 07:03:55, Taylor ...
3 years, 10 months ago (2017-02-02 08:51:25 UTC) #12
Taylor Brandstetter
lgtm https://codereview.webrtc.org/2670053002/diff/20001/webrtc/api/peerconnectioninterface.h File webrtc/api/peerconnectioninterface.h (right): https://codereview.webrtc.org/2670053002/diff/20001/webrtc/api/peerconnectioninterface.h#newcode384 webrtc/api/peerconnectioninterface.h:384: // (STUN pings), in milliseconds. On 2017/02/02 08:51:24, ...
3 years, 10 months ago (2017-02-02 18:16:01 UTC) #13
Taylor Brandstetter
On 2017/02/02 18:16:01, Taylor Brandstetter wrote: > lgtm Though remember to update the description to ...
3 years, 10 months ago (2017-02-02 18:18:08 UTC) #14
AlexG
lgtm
3 years, 10 months ago (2017-02-02 18:19:42 UTC) #15
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/2670053002/40001
3 years, 10 months ago (2017-02-02 18:56:43 UTC) #19
tkchin_webrtc
On 2017/02/02 18:56:43, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 10 months ago (2017-02-02 19:43:47 UTC) #20
skvlad
On 2017/02/02 19:43:47, tkchin_webrtc wrote: > On 2017/02/02 18:56:43, commit-bot: I haz the power wrote: ...
3 years, 10 months ago (2017-02-02 19:47:40 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/5107246d4bf4048ca3eb428107bfccf7d757d667
3 years, 10 months ago (2017-02-02 19:50:19 UTC) #24
pthatcher2
3 years, 10 months ago (2017-02-02 20:02:42 UTC) #26
Message was sent while issue was closed.
lgtm :)

Nice job turning that thing into an Int and fixing the tests.

Taylor, as for your trick: it didn't help because the comment you left in the
struct caught me first.  Good job on the comment :).

Powered by Google App Engine
This is Rietveld 408576698