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

Side by Side Diff: webrtc/pc/statscollector.h

Issue 2916793003: Revert of Wire up BWE stats through WebrtcSession so that they are filled in both for audio and video calls. (Closed)
Patch Set: Created 3 years, 6 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/pc/rtcstatscollector_unittest.cc ('k') | webrtc/pc/statscollector.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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // returns the leaf certificate's report (|cert|'s report). 103 // returns the leaf certificate's report (|cert|'s report).
104 StatsReport* AddCertificateReports(const rtc::SSLCertificate* cert); 104 StatsReport* AddCertificateReports(const rtc::SSLCertificate* cert);
105 105
106 StatsReport* AddConnectionInfoReport(const std::string& content_name, 106 StatsReport* AddConnectionInfoReport(const std::string& content_name,
107 int component, int connection_id, 107 int component, int connection_id,
108 const StatsReport::Id& channel_report_id, 108 const StatsReport::Id& channel_report_id,
109 const cricket::ConnectionInfo& info); 109 const cricket::ConnectionInfo& info);
110 110
111 void ExtractDataInfo(); 111 void ExtractDataInfo();
112 void ExtractSessionInfo(); 112 void ExtractSessionInfo();
113 void ExtractBweInfo();
114 void ExtractVoiceInfo(); 113 void ExtractVoiceInfo();
115 void ExtractVideoInfo(PeerConnectionInterface::StatsOutputLevel level); 114 void ExtractVideoInfo(PeerConnectionInterface::StatsOutputLevel level);
116 void ExtractSenderInfo(); 115 void ExtractSenderInfo();
117 void BuildSsrcToTransportId(); 116 void BuildSsrcToTransportId();
118 webrtc::StatsReport* GetReport(const StatsReport::StatsType& type, 117 webrtc::StatsReport* GetReport(const StatsReport::StatsType& type,
119 const std::string& id, 118 const std::string& id,
120 StatsReport::Direction direction); 119 StatsReport::Direction direction);
121 120
122 // Helper method to get stats from the local audio tracks. 121 // Helper method to get stats from the local audio tracks.
123 void UpdateStatsFromExistingLocalAudioTracks(); 122 void UpdateStatsFromExistingLocalAudioTracks();
(...skipping 20 matching lines...) Expand all
144 // TODO(tommi): We appear to be holding on to raw pointers to reference 143 // TODO(tommi): We appear to be holding on to raw pointers to reference
145 // counted objects? We should be using scoped_refptr here. 144 // counted objects? We should be using scoped_refptr here.
146 typedef std::vector<std::pair<AudioTrackInterface*, uint32_t> > 145 typedef std::vector<std::pair<AudioTrackInterface*, uint32_t> >
147 LocalAudioTrackVector; 146 LocalAudioTrackVector;
148 LocalAudioTrackVector local_audio_tracks_; 147 LocalAudioTrackVector local_audio_tracks_;
149 }; 148 };
150 149
151 } // namespace webrtc 150 } // namespace webrtc
152 151
153 #endif // WEBRTC_PC_STATSCOLLECTOR_H_ 152 #endif // WEBRTC_PC_STATSCOLLECTOR_H_
OLDNEW
« no previous file with comments | « webrtc/pc/rtcstatscollector_unittest.cc ('k') | webrtc/pc/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698