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