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

Side by Side Diff: webrtc/p2p/base/jseptransport.h

Issue 2719523002: RTCIceCandidatePairStats.[total/current]RoundTripTime collected. (Closed)
Patch Set: EXPECT_EQ(expected, actual) Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/stats/rtcstats_objects.h ('k') | webrtc/p2p/base/jseptransport.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
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-nominated 116 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-nominated
117 bool nominated; 117 bool nominated;
118 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-totalround triptime
119 uint64_t total_round_trip_time_ms;
120 // https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats-currentrou ndtriptime
121 rtc::Optional<uint32_t> current_round_trip_time_ms;
118 }; 122 };
119 123
120 // Information about all the connections of a channel. 124 // Information about all the connections of a channel.
121 typedef std::vector<ConnectionInfo> ConnectionInfos; 125 typedef std::vector<ConnectionInfo> ConnectionInfos;
122 126
123 // Information about a specific channel 127 // Information about a specific channel
124 struct TransportChannelStats { 128 struct TransportChannelStats {
125 int component = 0; 129 int component = 0;
126 ConnectionInfos connection_infos; 130 ConnectionInfos connection_infos;
127 int srtp_crypto_suite = rtc::SRTP_INVALID_CRYPTO_SUITE; 131 int srtp_crypto_suite = rtc::SRTP_INVALID_CRYPTO_SUITE;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 369
366 // Candidate component => DTLS channel 370 // Candidate component => DTLS channel
367 std::map<int, DtlsTransportInternal*> channels_; 371 std::map<int, DtlsTransportInternal*> channels_;
368 372
369 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport); 373 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport);
370 }; 374 };
371 375
372 } // namespace cricket 376 } // namespace cricket
373 377
374 #endif // WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ 378 #endif // WEBRTC_P2P_BASE_JSEPTRANSPORT_H_
OLDNEW
« no previous file with comments | « webrtc/api/stats/rtcstats_objects.h ('k') | webrtc/p2p/base/jseptransport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698