terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Mirko Bonadei | 575998c | 2019-07-25 13:57:41 +0200 | [diff] [blame] | 11 | #ifndef RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
| 12 | #define RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 13 | |
terelius | 88e64e5 | 2016-07-19 01:51:06 -0700 | [diff] [blame] | 14 | #include <map> |
Stefan Holmer | 1318103 | 2016-07-29 14:48:54 +0200 | [diff] [blame] | 15 | #include <memory> |
terelius | 0740a20 | 2016-08-08 10:21:04 -0700 | [diff] [blame] | 16 | #include <set> |
philipel | ccd7489 | 2016-09-05 02:46:25 -0700 | [diff] [blame] | 17 | #include <string> |
Stefan Holmer | 1318103 | 2016-07-29 14:48:54 +0200 | [diff] [blame] | 18 | #include <utility> |
philipel | ccd7489 | 2016-09-05 02:46:25 -0700 | [diff] [blame] | 19 | #include <vector> |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 20 | |
Sebastian Jansson | b290a6d | 2019-01-03 14:46:23 +0100 | [diff] [blame] | 21 | #include "logging/rtc_event_log/rtc_event_log_parser.h" |
Minyue Li | c6ff757 | 2018-05-04 09:46:44 +0200 | [diff] [blame] | 22 | #include "modules/audio_coding/neteq/tools/neteq_stats_getter.h" |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 23 | #include "rtc_base/strings/string_builder.h" |
Mirko Bonadei | 575998c | 2019-07-25 13:57:41 +0200 | [diff] [blame] | 24 | #include "rtc_tools/rtc_event_log_visualizer/plot_base.h" |
| 25 | #include "rtc_tools/rtc_event_log_visualizer/triage_notifications.h" |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 26 | |
| 27 | namespace webrtc { |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 28 | |
Bjorn Terelius | 068fc35 | 2019-02-13 22:38:25 +0100 | [diff] [blame] | 29 | class AnalyzerConfig { |
| 30 | public: |
| 31 | float GetCallTimeSec(int64_t timestamp_us) const { |
| 32 | int64_t offset = normalize_time_ ? begin_time_ : 0; |
| 33 | return static_cast<float>(timestamp_us - offset) / 1000000; |
| 34 | } |
| 35 | |
| 36 | float CallBeginTimeSec() const { return GetCallTimeSec(begin_time_); } |
| 37 | |
| 38 | float CallEndTimeSec() const { return GetCallTimeSec(end_time_); } |
| 39 | |
| 40 | // Window and step size used for calculating moving averages, e.g. bitrate. |
| 41 | // The generated data points will be |step_| microseconds apart. |
Mirko Bonadei | 604e75c | 2019-07-25 11:55:47 +0200 | [diff] [blame] | 42 | // Only events occurring at most |window_duration_| microseconds before the |
Bjorn Terelius | 068fc35 | 2019-02-13 22:38:25 +0100 | [diff] [blame] | 43 | // current data point will be part of the average. |
| 44 | int64_t window_duration_; |
| 45 | int64_t step_; |
| 46 | |
| 47 | // First and last events of the log. |
| 48 | int64_t begin_time_; |
| 49 | int64_t end_time_; |
| 50 | bool normalize_time_; |
| 51 | }; |
| 52 | |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 53 | class EventLogAnalyzer { |
| 54 | public: |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 55 | // The EventLogAnalyzer keeps a reference to the ParsedRtcEventLogNew for the |
| 56 | // duration of its lifetime. The ParsedRtcEventLogNew must not be destroyed or |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 57 | // modified while the EventLogAnalyzer is being used. |
Sebastian Jansson | b290a6d | 2019-01-03 14:46:23 +0100 | [diff] [blame] | 58 | EventLogAnalyzer(const ParsedRtcEventLog& log, bool normalize_time); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 59 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 60 | void CreatePacketGraph(PacketDirection direction, Plot* plot); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 61 | |
Bjorn Terelius | 7c974e6 | 2019-02-15 17:20:12 +0100 | [diff] [blame] | 62 | void CreateRtcpTypeGraph(PacketDirection direction, Plot* plot); |
| 63 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 64 | void CreateAccumulatedPacketsGraph(PacketDirection direction, Plot* plot); |
philipel | ccd7489 | 2016-09-05 02:46:25 -0700 | [diff] [blame] | 65 | |
Kristoffer Erlandsson | 283c106 | 2020-03-30 13:01:37 +0200 | [diff] [blame] | 66 | void CreatePacketRateGraph(PacketDirection direction, Plot* plot); |
| 67 | |
Kristoffer Erlandsson | a2ce423 | 2020-04-01 14:33:30 +0200 | [diff] [blame^] | 68 | void CreateTotalPacketRateGraph(PacketDirection direction, Plot* plot); |
| 69 | |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 70 | void CreatePlayoutGraph(Plot* plot); |
| 71 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 72 | void CreateAudioLevelGraph(PacketDirection direction, Plot* plot); |
ivoc | aac9d6f | 2016-09-22 07:01:47 -0700 | [diff] [blame] | 73 | |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 74 | void CreateSequenceNumberGraph(Plot* plot); |
| 75 | |
Stefan Holmer | 99f8e08 | 2016-09-09 13:37:50 +0200 | [diff] [blame] | 76 | void CreateIncomingPacketLossGraph(Plot* plot); |
| 77 | |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 78 | void CreateIncomingDelayGraph(Plot* plot); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 79 | |
terelius | f736d23 | 2016-08-04 10:00:11 -0700 | [diff] [blame] | 80 | void CreateFractionLossGraph(Plot* plot); |
| 81 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 82 | void CreateTotalIncomingBitrateGraph(Plot* plot); |
| 83 | void CreateTotalOutgoingBitrateGraph(Plot* plot, |
| 84 | bool show_detector_state = false, |
| 85 | bool show_alr_state = false); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 86 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 87 | void CreateStreamBitrateGraph(PacketDirection direction, Plot* plot); |
Bjorn Terelius | 9775a58 | 2019-02-15 17:29:58 +0100 | [diff] [blame] | 88 | void CreateBitrateAllocationGraph(PacketDirection direction, Plot* plot); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 89 | |
Sebastian Jansson | 1175ae0 | 2019-03-13 08:56:58 +0100 | [diff] [blame] | 90 | void CreateGoogCcSimulationGraph(Plot* plot); |
Bjorn Terelius | 28db266 | 2017-10-04 14:22:43 +0200 | [diff] [blame] | 91 | void CreateSendSideBweSimulationGraph(Plot* plot); |
| 92 | void CreateReceiveSideBweSimulationGraph(Plot* plot); |
Stefan Holmer | 1318103 | 2016-07-29 14:48:54 +0200 | [diff] [blame] | 93 | |
terelius | e34c19c | 2016-08-15 08:47:14 -0700 | [diff] [blame] | 94 | void CreateNetworkDelayFeedbackGraph(Plot* plot); |
Bjorn Terelius | 0295a96 | 2017-10-25 17:42:41 +0200 | [diff] [blame] | 95 | void CreatePacerDelayGraph(Plot* plot); |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 96 | |
| 97 | void CreateTimestampGraph(PacketDirection direction, Plot* plot); |
Bjorn Terelius | b1222c2 | 2018-07-24 13:45:31 +0200 | [diff] [blame] | 98 | void CreateSenderAndReceiverReportPlot( |
| 99 | PacketDirection direction, |
| 100 | rtc::FunctionView<float(const rtcp::ReportBlock&)> fy, |
| 101 | std::string title, |
| 102 | std::string yaxis_label, |
| 103 | Plot* plot); |
stefan | c3de033 | 2016-08-02 07:22:17 -0700 | [diff] [blame] | 104 | |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 105 | void CreateAudioEncoderTargetBitrateGraph(Plot* plot); |
| 106 | void CreateAudioEncoderFrameLengthGraph(Plot* plot); |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 107 | void CreateAudioEncoderPacketLossGraph(Plot* plot); |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 108 | void CreateAudioEncoderEnableFecGraph(Plot* plot); |
| 109 | void CreateAudioEncoderEnableDtxGraph(Plot* plot); |
| 110 | void CreateAudioEncoderNumChannelsGraph(Plot* plot); |
Minyue Li | c6ff757 | 2018-05-04 09:46:44 +0200 | [diff] [blame] | 111 | |
| 112 | using NetEqStatsGetterMap = |
| 113 | std::map<uint32_t, std::unique_ptr<test::NetEqStatsGetter>>; |
| 114 | NetEqStatsGetterMap SimulateNetEq(const std::string& replacement_file_name, |
| 115 | int file_sample_rate_hz) const; |
Minyue Li | c9ac93f | 2018-06-26 13:01:32 +0200 | [diff] [blame] | 116 | |
Minyue Li | 01d2a67 | 2018-06-21 21:17:19 +0200 | [diff] [blame] | 117 | void CreateAudioJitterBufferGraph(uint32_t ssrc, |
| 118 | const test::NetEqStatsGetter* stats_getter, |
| 119 | Plot* plot) const; |
Minyue Li | c9ac93f | 2018-06-26 13:01:32 +0200 | [diff] [blame] | 120 | void CreateNetEqNetworkStatsGraph( |
Minyue Li | 27e2b7d | 2018-05-07 15:20:24 +0200 | [diff] [blame] | 121 | const NetEqStatsGetterMap& neteq_stats_getters, |
| 122 | rtc::FunctionView<float(const NetEqNetworkStatistics&)> stats_extractor, |
| 123 | const std::string& plot_name, |
| 124 | Plot* plot) const; |
Minyue Li | c9ac93f | 2018-06-26 13:01:32 +0200 | [diff] [blame] | 125 | void CreateNetEqLifetimeStatsGraph( |
| 126 | const NetEqStatsGetterMap& neteq_stats_getters, |
| 127 | rtc::FunctionView<float(const NetEqLifetimeStatistics&)> stats_extractor, |
| 128 | const std::string& plot_name, |
| 129 | Plot* plot) const; |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 130 | |
Qingsi Wang | 8eca1ff | 2018-02-02 11:49:44 -0800 | [diff] [blame] | 131 | void CreateIceCandidatePairConfigGraph(Plot* plot); |
| 132 | void CreateIceConnectivityCheckGraph(Plot* plot); |
| 133 | |
Zach Stein | 10a5801 | 2018-12-07 12:26:28 -0800 | [diff] [blame] | 134 | void CreateDtlsTransportStateGraph(Plot* plot); |
| 135 | void CreateDtlsWritableStateGraph(Plot* plot); |
| 136 | |
Bjorn Terelius | 2eb3188 | 2017-11-30 15:15:25 +0100 | [diff] [blame] | 137 | void CreateTriageNotifications(); |
| 138 | void PrintNotifications(FILE* file); |
| 139 | |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 140 | private: |
Bjorn Terelius | 9775a58 | 2019-02-15 17:29:58 +0100 | [diff] [blame] | 141 | struct LayerDescription { |
| 142 | LayerDescription(uint32_t ssrc, |
| 143 | uint8_t spatial_layer, |
| 144 | uint8_t temporal_layer) |
| 145 | : ssrc(ssrc), |
| 146 | spatial_layer(spatial_layer), |
| 147 | temporal_layer(temporal_layer) {} |
| 148 | bool operator<(const LayerDescription& other) const { |
| 149 | if (ssrc != other.ssrc) |
| 150 | return ssrc < other.ssrc; |
| 151 | if (spatial_layer != other.spatial_layer) |
| 152 | return spatial_layer < other.spatial_layer; |
| 153 | return temporal_layer < other.temporal_layer; |
| 154 | } |
| 155 | uint32_t ssrc; |
| 156 | uint8_t spatial_layer; |
| 157 | uint8_t temporal_layer; |
| 158 | }; |
| 159 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 160 | bool IsRtxSsrc(PacketDirection direction, uint32_t ssrc) const { |
| 161 | if (direction == kIncomingPacket) { |
| 162 | return parsed_log_.incoming_rtx_ssrcs().find(ssrc) != |
| 163 | parsed_log_.incoming_rtx_ssrcs().end(); |
| 164 | } else { |
| 165 | return parsed_log_.outgoing_rtx_ssrcs().find(ssrc) != |
| 166 | parsed_log_.outgoing_rtx_ssrcs().end(); |
terelius | 0740a20 | 2016-08-08 10:21:04 -0700 | [diff] [blame] | 167 | } |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 168 | } |
| 169 | |
| 170 | bool IsVideoSsrc(PacketDirection direction, uint32_t ssrc) const { |
| 171 | if (direction == kIncomingPacket) { |
| 172 | return parsed_log_.incoming_video_ssrcs().find(ssrc) != |
| 173 | parsed_log_.incoming_video_ssrcs().end(); |
| 174 | } else { |
| 175 | return parsed_log_.outgoing_video_ssrcs().find(ssrc) != |
| 176 | parsed_log_.outgoing_video_ssrcs().end(); |
terelius | 0740a20 | 2016-08-08 10:21:04 -0700 | [diff] [blame] | 177 | } |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 178 | } |
terelius | 88e64e5 | 2016-07-19 01:51:06 -0700 | [diff] [blame] | 179 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 180 | bool IsAudioSsrc(PacketDirection direction, uint32_t ssrc) const { |
| 181 | if (direction == kIncomingPacket) { |
| 182 | return parsed_log_.incoming_audio_ssrcs().find(ssrc) != |
| 183 | parsed_log_.incoming_audio_ssrcs().end(); |
| 184 | } else { |
| 185 | return parsed_log_.outgoing_audio_ssrcs().find(ssrc) != |
| 186 | parsed_log_.outgoing_audio_ssrcs().end(); |
| 187 | } |
| 188 | } |
terelius | 88e64e5 | 2016-07-19 01:51:06 -0700 | [diff] [blame] | 189 | |
Minyue Li | c9ac93f | 2018-06-26 13:01:32 +0200 | [diff] [blame] | 190 | template <typename NetEqStatsType> |
| 191 | void CreateNetEqStatsGraphInternal( |
| 192 | const NetEqStatsGetterMap& neteq_stats, |
| 193 | rtc::FunctionView<const std::vector<std::pair<int64_t, NetEqStatsType>>*( |
| 194 | const test::NetEqStatsGetter*)> data_extractor, |
| 195 | rtc::FunctionView<float(const NetEqStatsType&)> stats_extractor, |
| 196 | const std::string& plot_name, |
| 197 | Plot* plot) const; |
| 198 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 199 | template <typename IterableType> |
| 200 | void CreateAccumulatedPacketsTimeSeries(Plot* plot, |
| 201 | const IterableType& packets, |
| 202 | const std::string& label); |
philipel | ccd7489 | 2016-09-05 02:46:25 -0700 | [diff] [blame] | 203 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 204 | void CreateStreamGapAlerts(PacketDirection direction); |
| 205 | void CreateTransmissionGapAlerts(PacketDirection direction); |
terelius | 0740a20 | 2016-08-08 10:21:04 -0700 | [diff] [blame] | 206 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 207 | std::string GetStreamName(PacketDirection direction, uint32_t ssrc) const { |
| 208 | char buffer[200]; |
| 209 | rtc::SimpleStringBuilder name(buffer); |
| 210 | if (IsAudioSsrc(direction, ssrc)) { |
| 211 | name << "Audio "; |
| 212 | } else if (IsVideoSsrc(direction, ssrc)) { |
| 213 | name << "Video "; |
| 214 | } else { |
| 215 | name << "Unknown "; |
| 216 | } |
| 217 | if (IsRtxSsrc(direction, ssrc)) { |
| 218 | name << "RTX "; |
| 219 | } |
| 220 | if (direction == kIncomingPacket) |
| 221 | name << "(In) "; |
| 222 | else |
| 223 | name << "(Out) "; |
| 224 | name << "SSRC " << ssrc; |
| 225 | return name.str(); |
| 226 | } |
terelius | 0740a20 | 2016-08-08 10:21:04 -0700 | [diff] [blame] | 227 | |
Bjorn Terelius | 9775a58 | 2019-02-15 17:29:58 +0100 | [diff] [blame] | 228 | std::string GetLayerName(LayerDescription layer) const { |
| 229 | char buffer[100]; |
| 230 | rtc::SimpleStringBuilder name(buffer); |
| 231 | name << "SSRC " << layer.ssrc << " sl " << layer.spatial_layer << ", tl " |
| 232 | << layer.temporal_layer; |
| 233 | return name.str(); |
| 234 | } |
| 235 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 236 | void Alert_RtpLogTimeGap(PacketDirection direction, |
| 237 | float time_seconds, |
| 238 | int64_t duration) { |
| 239 | if (direction == kIncomingPacket) { |
| 240 | incoming_rtp_recv_time_gaps_.emplace_back(time_seconds, duration); |
| 241 | } else { |
| 242 | outgoing_rtp_send_time_gaps_.emplace_back(time_seconds, duration); |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | void Alert_RtcpLogTimeGap(PacketDirection direction, |
| 247 | float time_seconds, |
| 248 | int64_t duration) { |
| 249 | if (direction == kIncomingPacket) { |
| 250 | incoming_rtcp_recv_time_gaps_.emplace_back(time_seconds, duration); |
| 251 | } else { |
| 252 | outgoing_rtcp_send_time_gaps_.emplace_back(time_seconds, duration); |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | void Alert_SeqNumJump(PacketDirection direction, |
| 257 | float time_seconds, |
| 258 | uint32_t ssrc) { |
| 259 | if (direction == kIncomingPacket) { |
| 260 | incoming_seq_num_jumps_.emplace_back(time_seconds, ssrc); |
| 261 | } else { |
| 262 | outgoing_seq_num_jumps_.emplace_back(time_seconds, ssrc); |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | void Alert_CaptureTimeJump(PacketDirection direction, |
| 267 | float time_seconds, |
| 268 | uint32_t ssrc) { |
| 269 | if (direction == kIncomingPacket) { |
| 270 | incoming_capture_time_jumps_.emplace_back(time_seconds, ssrc); |
| 271 | } else { |
| 272 | outgoing_capture_time_jumps_.emplace_back(time_seconds, ssrc); |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | void Alert_OutgoingHighLoss(double avg_loss_fraction) { |
| 277 | outgoing_high_loss_alerts_.emplace_back(avg_loss_fraction); |
| 278 | } |
Bjorn Terelius | 2eb3188 | 2017-11-30 15:15:25 +0100 | [diff] [blame] | 279 | |
Qingsi Wang | 8eca1ff | 2018-02-02 11:49:44 -0800 | [diff] [blame] | 280 | std::string GetCandidatePairLogDescriptionFromId(uint32_t candidate_pair_id); |
| 281 | |
Sebastian Jansson | b290a6d | 2019-01-03 14:46:23 +0100 | [diff] [blame] | 282 | const ParsedRtcEventLog& parsed_log_; |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 283 | |
| 284 | // A list of SSRCs we are interested in analysing. |
| 285 | // If left empty, all SSRCs will be considered relevant. |
| 286 | std::vector<uint32_t> desired_ssrc_; |
| 287 | |
henrik.lundin | 3c938fc | 2017-06-14 06:09:58 -0700 | [diff] [blame] | 288 | // Stores the timestamps for all log segments, in the form of associated start |
| 289 | // and end events. |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 290 | std::vector<std::pair<int64_t, int64_t>> log_segments_; |
henrik.lundin | 3c938fc | 2017-06-14 06:09:58 -0700 | [diff] [blame] | 291 | |
Bjorn Terelius | c4ca1d3 | 2018-04-27 14:33:34 +0200 | [diff] [blame] | 292 | std::vector<IncomingRtpReceiveTimeGap> incoming_rtp_recv_time_gaps_; |
| 293 | std::vector<IncomingRtcpReceiveTimeGap> incoming_rtcp_recv_time_gaps_; |
| 294 | std::vector<OutgoingRtpSendTimeGap> outgoing_rtp_send_time_gaps_; |
| 295 | std::vector<OutgoingRtcpSendTimeGap> outgoing_rtcp_send_time_gaps_; |
| 296 | std::vector<IncomingSeqNumJump> incoming_seq_num_jumps_; |
| 297 | std::vector<IncomingCaptureTimeJump> incoming_capture_time_jumps_; |
| 298 | std::vector<OutgoingSeqNoJump> outgoing_seq_num_jumps_; |
| 299 | std::vector<OutgoingCaptureTimeJump> outgoing_capture_time_jumps_; |
| 300 | std::vector<OutgoingHighLoss> outgoing_high_loss_alerts_; |
Qingsi Wang | 8eca1ff | 2018-02-02 11:49:44 -0800 | [diff] [blame] | 301 | |
| 302 | std::map<uint32_t, std::string> candidate_pair_desc_by_id_; |
| 303 | |
Bjorn Terelius | 068fc35 | 2019-02-13 22:38:25 +0100 | [diff] [blame] | 304 | AnalyzerConfig config_; |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 305 | }; |
| 306 | |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 307 | } // namespace webrtc |
| 308 | |
Mirko Bonadei | 575998c | 2019-07-25 13:57:41 +0200 | [diff] [blame] | 309 | #endif // RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_ANALYZER_H_ |