OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 const std::string& label_prefix); | 133 const std::string& label_prefix); |
134 | 134 |
135 bool IsRtxSsrc(StreamId stream_id) const; | 135 bool IsRtxSsrc(StreamId stream_id) const; |
136 | 136 |
137 bool IsVideoSsrc(StreamId stream_id) const; | 137 bool IsVideoSsrc(StreamId stream_id) const; |
138 | 138 |
139 bool IsAudioSsrc(StreamId stream_id) const; | 139 bool IsAudioSsrc(StreamId stream_id) const; |
140 | 140 |
141 std::string GetStreamName(StreamId) const; | 141 std::string GetStreamName(StreamId) const; |
142 | 142 |
143 void FillAudioEncoderTimeSeries( | |
144 Plot* plot, | |
145 rtc::FunctionView<rtc::Optional<float>( | |
146 const AudioNetworkAdaptationEvent& ana_event)> get_y) const; | |
147 | |
148 const ParsedRtcEventLog& parsed_log_; | 143 const ParsedRtcEventLog& parsed_log_; |
149 | 144 |
150 // A list of SSRCs we are interested in analysing. | 145 // A list of SSRCs we are interested in analysing. |
151 // If left empty, all SSRCs will be considered relevant. | 146 // If left empty, all SSRCs will be considered relevant. |
152 std::vector<uint32_t> desired_ssrc_; | 147 std::vector<uint32_t> desired_ssrc_; |
153 | 148 |
154 // Tracks what each stream is configured for. Note that a single SSRC can be | 149 // Tracks what each stream is configured for. Note that a single SSRC can be |
155 // in several sets. For example, the SSRC used for sending video over RTX | 150 // in several sets. For example, the SSRC used for sending video over RTX |
156 // will appear in both video_ssrcs_ and rtx_ssrcs_. In the unlikely case that | 151 // will appear in both video_ssrcs_ and rtx_ssrcs_. In the unlikely case that |
157 // an SSRC is reconfigured to a different media type mid-call, it will also | 152 // an SSRC is reconfigured to a different media type mid-call, it will also |
(...skipping 26 matching lines...) Expand all Loading... |
184 uint64_t end_time_; | 179 uint64_t end_time_; |
185 | 180 |
186 // Duration (in seconds) of log file. | 181 // Duration (in seconds) of log file. |
187 float call_duration_s_; | 182 float call_duration_s_; |
188 }; | 183 }; |
189 | 184 |
190 } // namespace plotting | 185 } // namespace plotting |
191 } // namespace webrtc | 186 } // namespace webrtc |
192 | 187 |
193 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 188 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
OLD | NEW |