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

Side by Side Diff: webrtc/api/stats/rtcstats_objects.h

Issue 2597963002: RTCIceCandidateStats.transportId added and collected. (Closed)
Patch Set: Rebase with master Created 3 years, 11 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/rtcstatscollector_unittest.cc ('k') | webrtc/stats/rtcstats_objects.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 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // TODO(hbos): |RTCStatsCollector| only collects candidates that are part of 160 // TODO(hbos): |RTCStatsCollector| only collects candidates that are part of
161 // ice candidate pairs, but there could be candidates not paired with anything. 161 // ice candidate pairs, but there could be candidates not paired with anything.
162 // crbug.com/632723 162 // crbug.com/632723
163 class RTCIceCandidateStats : public RTCStats { 163 class RTCIceCandidateStats : public RTCStats {
164 public: 164 public:
165 WEBRTC_RTCSTATS_DECL(); 165 WEBRTC_RTCSTATS_DECL();
166 166
167 RTCIceCandidateStats(const RTCIceCandidateStats& other); 167 RTCIceCandidateStats(const RTCIceCandidateStats& other);
168 ~RTCIceCandidateStats() override; 168 ~RTCIceCandidateStats() override;
169 169
170 RTCStatsMember<std::string> transport_id;
170 RTCStatsMember<bool> is_remote; 171 RTCStatsMember<bool> is_remote;
171 RTCStatsMember<std::string> ip; 172 RTCStatsMember<std::string> ip;
172 RTCStatsMember<int32_t> port; 173 RTCStatsMember<int32_t> port;
173 RTCStatsMember<std::string> protocol; 174 RTCStatsMember<std::string> protocol;
174 // TODO(hbos): Support enum types? "RTCStatsMember<RTCIceCandidateType>"? 175 // TODO(hbos): Support enum types? "RTCStatsMember<RTCIceCandidateType>"?
175 RTCStatsMember<std::string> candidate_type; 176 RTCStatsMember<std::string> candidate_type;
176 RTCStatsMember<int32_t> priority; 177 RTCStatsMember<int32_t> priority;
177 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/632723 178 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/632723
178 RTCStatsMember<std::string> url; 179 RTCStatsMember<std::string> url;
179 // TODO(hbos): |deleted = true| case is not supported by |RTCStatsCollector|. 180 // TODO(hbos): |deleted = true| case is not supported by |RTCStatsCollector|.
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 RTCStatsMember<std::string> rtcp_transport_stats_id; 396 RTCStatsMember<std::string> rtcp_transport_stats_id;
396 RTCStatsMember<bool> active_connection; 397 RTCStatsMember<bool> active_connection;
397 RTCStatsMember<std::string> selected_candidate_pair_id; 398 RTCStatsMember<std::string> selected_candidate_pair_id;
398 RTCStatsMember<std::string> local_certificate_id; 399 RTCStatsMember<std::string> local_certificate_id;
399 RTCStatsMember<std::string> remote_certificate_id; 400 RTCStatsMember<std::string> remote_certificate_id;
400 }; 401 };
401 402
402 } // namespace webrtc 403 } // namespace webrtc
403 404
404 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ 405 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_
OLDNEW
« no previous file with comments | « webrtc/api/rtcstatscollector_unittest.cc ('k') | webrtc/stats/rtcstats_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698