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

Side by Side Diff: webrtc/api/rtcstatscollector.h

Issue 2456463002: RTCOutboundRTPStreamStats added. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | webrtc/api/rtcstatscollector.cc » ('j') | webrtc/api/rtcstatscollector.cc » ('J')
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Produces |RTCIceCandidatePairStats| and |RTCIceCandidateStats|. 100 // Produces |RTCIceCandidatePairStats| and |RTCIceCandidateStats|.
101 void ProduceIceCandidateAndPairStats_s( 101 void ProduceIceCandidateAndPairStats_s(
102 int64_t timestamp_us, const SessionStats& session_stats, 102 int64_t timestamp_us, const SessionStats& session_stats,
103 RTCStatsReport* report) const; 103 RTCStatsReport* report) const;
104 const std::string& ProduceIceCandidateStats_s( 104 const std::string& ProduceIceCandidateStats_s(
105 int64_t timestamp_us, const cricket::Candidate& candidate, bool is_local, 105 int64_t timestamp_us, const cricket::Candidate& candidate, bool is_local,
106 RTCStatsReport* report) const; 106 RTCStatsReport* report) const;
107 // Produces |RTCPeerConnectionStats|. 107 // Produces |RTCPeerConnectionStats|.
108 void ProducePeerConnectionStats_s( 108 void ProducePeerConnectionStats_s(
109 int64_t timestamp_us, RTCStatsReport* report) const; 109 int64_t timestamp_us, RTCStatsReport* report) const;
110 // Produces |RTCOutboundRTPStreamStats|. TODO(hbos): Produce both types of
111 // |RTCRTPStreamStats|, the other one being |RTCInboundRTPStreamStats|.
112 // crbug.com/657855
113 void ProduceRTPStreamStats_s(
114 int64_t timestamp_us, const SessionStats& session_stats,
115 RTCStatsReport* report) const;
110 // Produces |RTCTransportStats|. 116 // Produces |RTCTransportStats|.
111 void ProduceTransportStats_s( 117 void ProduceTransportStats_s(
112 int64_t timestamp_us, const SessionStats& session_stats, 118 int64_t timestamp_us, const SessionStats& session_stats,
113 const std::map<std::string, CertificateStatsPair>& transport_cert_stats, 119 const std::map<std::string, CertificateStatsPair>& transport_cert_stats,
114 RTCStatsReport* report) const; 120 RTCStatsReport* report) const;
115 121
116 // Helper function to stats-producing functions. 122 // Helper function to stats-producing functions.
117 std::map<std::string, CertificateStatsPair> 123 std::map<std::string, CertificateStatsPair>
118 PrepareTransportCertificateStats_s(const SessionStats& session_stats) const; 124 PrepareTransportCertificateStats_s(const SessionStats& session_stats) const;
119 125
(...skipping 18 matching lines...) Expand all
138 }; 144 };
139 145
140 const char* CandidateTypeToRTCIceCandidateTypeForTesting( 146 const char* CandidateTypeToRTCIceCandidateTypeForTesting(
141 const std::string& type); 147 const std::string& type);
142 const char* DataStateToRTCDataChannelStateForTesting( 148 const char* DataStateToRTCDataChannelStateForTesting(
143 DataChannelInterface::DataState state); 149 DataChannelInterface::DataState state);
144 150
145 } // namespace webrtc 151 } // namespace webrtc
146 152
147 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_ 153 #endif // WEBRTC_API_RTCSTATSCOLLECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/rtcstatscollector.cc » ('j') | webrtc/api/rtcstatscollector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698