OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 size_t recv_bytes_second; // Bps over the last measurement interval. | 106 size_t recv_bytes_second; // Bps over the last measurement interval. |
107 size_t recv_ping_requests; // Number of STUN ping request received. | 107 size_t recv_ping_requests; // Number of STUN ping request received. |
108 size_t recv_ping_responses; // Number of STUN ping response received. | 108 size_t recv_ping_responses; // Number of STUN ping response received. |
109 Candidate local_candidate; // The local candidate for this connection. | 109 Candidate local_candidate; // The local candidate for this connection. |
110 Candidate remote_candidate; // The remote candidate for this connection. | 110 Candidate remote_candidate; // The remote candidate for this connection. |
111 void* key; // A static value that identifies this conn. | 111 void* key; // A static value that identifies this conn. |
112 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-state | 112 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-state |
113 IceCandidatePairState state; | 113 IceCandidatePairState state; |
114 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-priority | 114 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-priority |
115 uint64_t priority; | 115 uint64_t priority; |
| 116 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-totalround
triptime |
| 117 rtc::Optional<uint64_t> total_round_trip_time_ms; |
| 118 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-currentrou
ndtriptime |
| 119 rtc::Optional<uint32_t> current_round_trip_time_ms; |
116 }; | 120 }; |
117 | 121 |
118 // Information about all the connections of a channel. | 122 // Information about all the connections of a channel. |
119 typedef std::vector<ConnectionInfo> ConnectionInfos; | 123 typedef std::vector<ConnectionInfo> ConnectionInfos; |
120 | 124 |
121 // Information about a specific channel | 125 // Information about a specific channel |
122 struct TransportChannelStats { | 126 struct TransportChannelStats { |
123 int component = 0; | 127 int component = 0; |
124 ConnectionInfos connection_infos; | 128 ConnectionInfos connection_infos; |
125 int srtp_crypto_suite = rtc::SRTP_INVALID_CRYPTO_SUITE; | 129 int srtp_crypto_suite = rtc::SRTP_INVALID_CRYPTO_SUITE; |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 | 367 |
364 // Candidate component => DTLS channel | 368 // Candidate component => DTLS channel |
365 std::map<int, DtlsTransportInternal*> channels_; | 369 std::map<int, DtlsTransportInternal*> channels_; |
366 | 370 |
367 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport); | 371 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport); |
368 }; | 372 }; |
369 | 373 |
370 } // namespace cricket | 374 } // namespace cricket |
371 | 375 |
372 #endif // WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ | 376 #endif // WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ |
OLD | NEW |