| Index: webrtc/p2p/base/transport.h
|
| diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h
|
| index 68f178a40af31792d2d441e751db6b9c8432e6bb..e31d37a6f6a81a3dd1ee9fee329716235fd2a3ad 100644
|
| --- a/webrtc/p2p/base/transport.h
|
| +++ b/webrtc/p2p/base/transport.h
|
| @@ -154,22 +154,23 @@
|
| // is writable yet.
|
| bool prioritize_most_likely_candidate_pairs = false;
|
|
|
| - // Writable connections are pinged at a slower rate.
|
| - int writable_connection_ping_interval = -1;
|
| + // If the current best connection is both writable and receiving,
|
| + // then we will also try hard to make sure it is pinged at this rate
|
| + // (Default value is a little less than 2 * STRONG_PING_INTERVAL).
|
| + int max_strong_interval = -1;
|
|
|
| IceConfig() {}
|
| IceConfig(int receiving_timeout_ms,
|
| int backup_connection_ping_interval,
|
| bool gather_continually,
|
| bool prioritize_most_likely_candidate_pairs,
|
| - int writable_connection_ping_interval_ms)
|
| + int max_strong_interval_ms)
|
| : receiving_timeout(receiving_timeout_ms),
|
| backup_connection_ping_interval(backup_connection_ping_interval),
|
| gather_continually(gather_continually),
|
| prioritize_most_likely_candidate_pairs(
|
| prioritize_most_likely_candidate_pairs),
|
| - writable_connection_ping_interval(
|
| - writable_connection_ping_interval_ms) {}
|
| + max_strong_interval(max_strong_interval_ms) {}
|
| };
|
|
|
| bool BadTransportDescription(const std::string& desc, std::string* err_desc);
|
|
|