diff options
Diffstat (limited to 'webrtc/p2p/base/transport.h')
-rw-r--r-- | webrtc/p2p/base/transport.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h index 955eb42098..6b4b37d4c5 100644 --- a/webrtc/p2p/base/transport.h +++ b/webrtc/p2p/base/transport.h @@ -123,8 +123,8 @@ typedef std::vector<ConnectionInfo> ConnectionInfos; struct TransportChannelStats { int component = 0; ConnectionInfos connection_infos; - std::string srtp_cipher; - int ssl_cipher = 0; + int srtp_crypto_suite = rtc::SRTP_INVALID_CRYPTO_SUITE; + int ssl_cipher_suite = rtc::TLS_NULL_WITH_NULL_NULL; }; // Information about all the channels of a transport. @@ -140,7 +140,11 @@ struct TransportStats { // Information about ICE configuration. struct IceConfig { // The ICE connection receiving timeout value. + // TODO(honghaiz): Remove suffix _ms to be consistent. int receiving_timeout_ms = -1; + // Time interval in milliseconds to ping a backup connection when the ICE + // channel is strongly connected. + int backup_connection_ping_interval = -1; // If true, the most recent port allocator session will keep on running. bool gather_continually = false; }; |