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

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

Issue 2709293004: RTCIceCandidatePairStats.nominated collected. (Closed)
Patch Set: Updated comment Created 3 years, 10 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
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-nominated
117 bool nominated;
116 }; 118 };
117 119
118 // Information about all the connections of a channel. 120 // Information about all the connections of a channel.
119 typedef std::vector<ConnectionInfo> ConnectionInfos; 121 typedef std::vector<ConnectionInfo> ConnectionInfos;
120 122
121 // Information about a specific channel 123 // Information about a specific channel
122 struct TransportChannelStats { 124 struct TransportChannelStats {
123 int component = 0; 125 int component = 0;
124 ConnectionInfos connection_infos; 126 ConnectionInfos connection_infos;
125 int srtp_crypto_suite = rtc::SRTP_INVALID_CRYPTO_SUITE; 127 int srtp_crypto_suite = rtc::SRTP_INVALID_CRYPTO_SUITE;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 365
364 // Candidate component => DTLS channel 366 // Candidate component => DTLS channel
365 std::map<int, DtlsTransportInternal*> channels_; 367 std::map<int, DtlsTransportInternal*> channels_;
366 368
367 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport); 369 RTC_DISALLOW_COPY_AND_ASSIGN(JsepTransport);
368 }; 370 };
369 371
370 } // namespace cricket 372 } // namespace cricket
371 373
372 #endif // WEBRTC_P2P_BASE_JSEPTRANSPORT_H_ 374 #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