OLD | NEW |
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // TODO(hbos): |RTCStatsCollector| only collects candidates that are part of | 163 // TODO(hbos): |RTCStatsCollector| only collects candidates that are part of |
164 // ice candidate pairs, but there could be candidates not paired with anything. | 164 // ice candidate pairs, but there could be candidates not paired with anything. |
165 // crbug.com/632723 | 165 // crbug.com/632723 |
166 class RTCIceCandidateStats : public RTCStats { | 166 class RTCIceCandidateStats : public RTCStats { |
167 public: | 167 public: |
168 WEBRTC_RTCSTATS_DECL(); | 168 WEBRTC_RTCSTATS_DECL(); |
169 | 169 |
170 RTCIceCandidateStats(const RTCIceCandidateStats& other); | 170 RTCIceCandidateStats(const RTCIceCandidateStats& other); |
171 ~RTCIceCandidateStats() override; | 171 ~RTCIceCandidateStats() override; |
172 | 172 |
| 173 RTCStatsMember<std::string> transport_id; |
173 RTCStatsMember<std::string> ip; | 174 RTCStatsMember<std::string> ip; |
174 RTCStatsMember<int32_t> port; | 175 RTCStatsMember<int32_t> port; |
175 RTCStatsMember<std::string> protocol; | 176 RTCStatsMember<std::string> protocol; |
176 // TODO(hbos): Support enum types? "RTCStatsMember<RTCIceCandidateType>"? | 177 // TODO(hbos): Support enum types? "RTCStatsMember<RTCIceCandidateType>"? |
177 RTCStatsMember<std::string> candidate_type; | 178 RTCStatsMember<std::string> candidate_type; |
178 RTCStatsMember<int32_t> priority; | 179 RTCStatsMember<int32_t> priority; |
179 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/632723 | 180 // TODO(hbos): Not collected by |RTCStatsCollector|. crbug.com/632723 |
180 RTCStatsMember<std::string> url; | 181 RTCStatsMember<std::string> url; |
181 | 182 |
182 protected: | 183 protected: |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 RTCStatsMember<std::string> rtcp_transport_stats_id; | 389 RTCStatsMember<std::string> rtcp_transport_stats_id; |
389 RTCStatsMember<bool> active_connection; | 390 RTCStatsMember<bool> active_connection; |
390 RTCStatsMember<std::string> selected_candidate_pair_id; | 391 RTCStatsMember<std::string> selected_candidate_pair_id; |
391 RTCStatsMember<std::string> local_certificate_id; | 392 RTCStatsMember<std::string> local_certificate_id; |
392 RTCStatsMember<std::string> remote_certificate_id; | 393 RTCStatsMember<std::string> remote_certificate_id; |
393 }; | 394 }; |
394 | 395 |
395 } // namespace webrtc | 396 } // namespace webrtc |
396 | 397 |
397 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ | 398 #endif // WEBRTC_API_STATS_RTCSTATS_OBJECTS_H_ |
OLD | NEW |