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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // Produces |RTCDataChannelStats|. | 94 // Produces |RTCDataChannelStats|. |
95 void ProduceDataChannelStats_s( | 95 void ProduceDataChannelStats_s( |
96 int64_t timestamp_us, RTCStatsReport* report) const; | 96 int64_t timestamp_us, RTCStatsReport* report) const; |
97 // Produces |RTCIceCandidatePairStats| and |RTCIceCandidateStats|. | 97 // Produces |RTCIceCandidatePairStats| and |RTCIceCandidateStats|. |
98 void ProduceIceCandidateAndPairStats_s( | 98 void ProduceIceCandidateAndPairStats_s( |
99 int64_t timestamp_us, const SessionStats& session_stats, | 99 int64_t timestamp_us, const SessionStats& session_stats, |
100 RTCStatsReport* report) const; | 100 RTCStatsReport* report) const; |
101 // Produces |RTCPeerConnectionStats|. | 101 // Produces |RTCPeerConnectionStats|. |
102 void ProducePeerConnectionStats_s( | 102 void ProducePeerConnectionStats_s( |
103 int64_t timestamp_us, RTCStatsReport* report) const; | 103 int64_t timestamp_us, RTCStatsReport* report) const; |
104 // Produces |RTCInboundRTPStreamStats| and |RTCOutboundRTPStreamStats|. | 104 // Produces |RTCOutboundRTPStreamStats|. TODO(hbos): Produce both types of |
| 105 // |RTCRTPStreamStats|, the other one being |RTCInboundRTPStreamStats|. |
| 106 // crbug.com/657855 |
105 void ProduceRTPStreamStats_s( | 107 void ProduceRTPStreamStats_s( |
106 int64_t timestamp_us, const SessionStats& session_stats, | 108 int64_t timestamp_us, const SessionStats& session_stats, |
107 RTCStatsReport* report) const; | 109 RTCStatsReport* report) const; |
108 // Produces |RTCTransportStats|. | 110 // Produces |RTCTransportStats|. |
109 void ProduceTransportStats_s( | 111 void ProduceTransportStats_s( |
110 int64_t timestamp_us, const SessionStats& session_stats, | 112 int64_t timestamp_us, const SessionStats& session_stats, |
111 const std::map<std::string, CertificateStatsPair>& transport_cert_stats, | 113 const std::map<std::string, CertificateStatsPair>& transport_cert_stats, |
112 RTCStatsReport* report) const; | 114 RTCStatsReport* report) const; |
113 | 115 |
114 // Helper function to stats-producing functions. | 116 // Helper function to stats-producing functions. |
(...skipping 21 matching lines...) Expand all Loading... |
136 }; | 138 }; |
137 | 139 |
138 const char* CandidateTypeToRTCIceCandidateTypeForTesting( | 140 const char* CandidateTypeToRTCIceCandidateTypeForTesting( |
139 const std::string& type); | 141 const std::string& type); |
140 const char* DataStateToRTCDataChannelStateForTesting( | 142 const char* DataStateToRTCDataChannelStateForTesting( |
141 DataChannelInterface::DataState state); | 143 DataChannelInterface::DataState state); |
142 | 144 |
143 } // namespace webrtc | 145 } // namespace webrtc |
144 | 146 |
145 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_ | 147 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_ |
OLD | NEW |