blob: d12935d0cdc1238d21e0957fb6c9b6c45de12073 [file] [log] [blame]
terelius54ce6802016-07-13 06:44:41 -07001/*
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
11#include <iostream>
12
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +020013#include "logging/rtc_event_log/rtc_event_log_parser_new.h"
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020014#include "rtc_base/flags.h"
15#include "rtc_tools/event_log_visualizer/analyzer.h"
16#include "rtc_tools/event_log_visualizer/plot_base.h"
17#include "rtc_tools/event_log_visualizer/plot_python.h"
Bjorn Tereliusedab3012018-01-31 17:23:40 +010018#include "system_wrappers/include/field_trial_default.h"
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020019#include "test/field_trial.h"
20#include "test/testsupport/fileutils.h"
terelius54ce6802016-07-13 06:44:41 -070021
terelius2ee076d2017-08-15 02:04:02 -070022DEFINE_string(plot_profile,
23 "default",
24 "A profile that selects a certain subset of the plots. Currently "
Bjorn Terelius1edfff92017-10-11 13:15:19 +020025 "defined profiles are \"all\", \"none\", \"sendside_bwe\","
26 "\"receiveside_bwe\" and \"default\"");
terelius2ee076d2017-08-15 02:04:02 -070027
28DEFINE_bool(plot_incoming_packet_sizes,
terelius54ce6802016-07-13 06:44:41 -070029 false,
terelius2ee076d2017-08-15 02:04:02 -070030 "Plot bar graph showing the size of each incoming packet.");
31DEFINE_bool(plot_outgoing_packet_sizes,
32 false,
33 "Plot bar graph showing the size of each outgoing packet.");
34DEFINE_bool(plot_incoming_packet_count,
35 false,
36 "Plot the accumulated number of packets for each incoming stream.");
37DEFINE_bool(plot_outgoing_packet_count,
38 false,
39 "Plot the accumulated number of packets for each outgoing stream.");
terelius54ce6802016-07-13 06:44:41 -070040DEFINE_bool(plot_audio_playout,
41 false,
42 "Plot bar graph showing the time between each audio playout.");
ivocaac9d6f2016-09-22 07:01:47 -070043DEFINE_bool(plot_audio_level,
44 false,
terelius2ee076d2017-08-15 02:04:02 -070045 "Plot line graph showing the audio level of incoming audio.");
46DEFINE_bool(plot_incoming_sequence_number_delta,
47 false,
48 "Plot the sequence number difference between consecutive incoming "
49 "packets.");
terelius54ce6802016-07-13 06:44:41 -070050DEFINE_bool(
terelius2ee076d2017-08-15 02:04:02 -070051 plot_incoming_delay_delta,
terelius54ce6802016-07-13 06:44:41 -070052 false,
53 "Plot the difference in 1-way path delay between consecutive packets.");
terelius2ee076d2017-08-15 02:04:02 -070054DEFINE_bool(plot_incoming_delay,
55 true,
56 "Plot the 1-way path delay for incoming packets, normalized so "
57 "that the first packet has delay 0.");
58DEFINE_bool(plot_incoming_loss_rate,
59 true,
60 "Compute the loss rate for incoming packets using a method that's "
61 "similar to the one used for RTCP SR and RR fraction lost. Note "
62 "that the loss rate can be negative if packets are duplicated or "
63 "reordered.");
64DEFINE_bool(plot_incoming_bitrate,
65 true,
66 "Plot the total bitrate used by all incoming streams.");
67DEFINE_bool(plot_outgoing_bitrate,
68 true,
69 "Plot the total bitrate used by all outgoing streams.");
70DEFINE_bool(plot_incoming_stream_bitrate,
71 true,
72 "Plot the bitrate used by each incoming stream.");
73DEFINE_bool(plot_outgoing_stream_bitrate,
74 true,
75 "Plot the bitrate used by each outgoing stream.");
Bjorn Terelius28db2662017-10-04 14:22:43 +020076DEFINE_bool(plot_simulated_receiveside_bwe,
77 false,
78 "Run the receive-side bandwidth estimator with the incoming rtp "
79 "packets and plot the resulting estimate.");
terelius2ee076d2017-08-15 02:04:02 -070080DEFINE_bool(plot_simulated_sendside_bwe,
terelius54ce6802016-07-13 06:44:41 -070081 false,
terelius2ee076d2017-08-15 02:04:02 -070082 "Run the send-side bandwidth estimator with the outgoing rtp and "
83 "incoming rtcp and plot the resulting estimate.");
stefanc3de0332016-08-02 07:22:17 -070084DEFINE_bool(plot_network_delay_feedback,
terelius2ee076d2017-08-15 02:04:02 -070085 true,
stefanc3de0332016-08-02 07:22:17 -070086 "Compute network delay based on sent packets and the received "
87 "transport feedback.");
terelius2ee076d2017-08-15 02:04:02 -070088DEFINE_bool(plot_fraction_loss_feedback,
89 true,
tereliusf736d232016-08-04 10:00:11 -070090 "Plot packet loss in percent for outgoing packets (as perceived by "
91 "the send-side bandwidth estimator).");
Bjorn Terelius0295a962017-10-25 17:42:41 +020092DEFINE_bool(plot_pacer_delay,
93 false,
94 "Plot the time each sent packet has spent in the pacer (based on "
95 "the difference between the RTP timestamp and the send "
96 "timestamp).");
stefane372d3c2017-02-02 08:04:18 -080097DEFINE_bool(plot_timestamps,
98 false,
99 "Plot the rtp timestamps of all rtp and rtcp packets over time.");
terelius2ee076d2017-08-15 02:04:02 -0700100DEFINE_bool(plot_audio_encoder_bitrate_bps,
michaelt6e5b2192017-02-22 07:33:27 -0800101 false,
102 "Plot the audio encoder target bitrate.");
terelius2ee076d2017-08-15 02:04:02 -0700103DEFINE_bool(plot_audio_encoder_frame_length_ms,
michaelt6e5b2192017-02-22 07:33:27 -0800104 false,
105 "Plot the audio encoder frame length.");
106DEFINE_bool(
terelius2ee076d2017-08-15 02:04:02 -0700107 plot_audio_encoder_packet_loss,
michaelt6e5b2192017-02-22 07:33:27 -0800108 false,
terelius2ee076d2017-08-15 02:04:02 -0700109 "Plot the uplink packet loss fraction which is sent to the audio encoder.");
110DEFINE_bool(plot_audio_encoder_fec, false, "Plot the audio encoder FEC.");
111DEFINE_bool(plot_audio_encoder_dtx, false, "Plot the audio encoder DTX.");
112DEFINE_bool(plot_audio_encoder_num_channels,
michaelt6e5b2192017-02-22 07:33:27 -0800113 false,
114 "Plot the audio encoder number of channels.");
henrik.lundin3c938fc2017-06-14 06:09:58 -0700115DEFINE_bool(plot_audio_jitter_buffer,
116 false,
117 "Plot the audio jitter buffer delay profile.");
Qingsi Wang8eca1ff2018-02-02 11:49:44 -0800118DEFINE_bool(plot_ice_candidate_pair_config,
119 false,
120 "Plot the ICE candidate pair config events.");
121DEFINE_bool(plot_ice_connectivity_check,
122 false,
123 "Plot the ICE candidate pair connectivity checks.");
Bjorn Terelius1edfff92017-10-11 13:15:19 +0200124
stefan985d2802016-11-15 06:54:09 -0800125DEFINE_string(
126 force_fieldtrials,
127 "",
128 "Field trials control experimental feature code which can be forced. "
129 "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enabled/"
130 " will assign the group Enabled to field trial WebRTC-FooFeature. Multiple "
131 "trials are separated by \"/\"");
owb7fbeb0b2017-08-16 02:48:33 -0700132DEFINE_string(wav_filename,
133 "",
134 "Path to wav file used for simulation of jitter buffer");
kjellander4fa5be42017-05-16 00:01:23 -0700135DEFINE_bool(help, false, "prints this message");
terelius54ce6802016-07-13 06:44:41 -0700136
terelius2ee076d2017-08-15 02:04:02 -0700137DEFINE_bool(show_detector_state,
138 false,
139 "Show the state of the delay based BWE detector on the total "
140 "bitrate graph");
141
Ilya Nikolaevskiya4259f62017-12-05 13:19:45 +0100142DEFINE_bool(show_alr_state,
143 false,
144 "Show the state ALR state on the total bitrate graph");
145
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200146DEFINE_bool(parse_unconfigured_header_extensions,
147 true,
148 "Attempt to parse unconfigured header extensions using the default "
149 "WebRTC mapping. This can give very misleading results if the "
150 "application negotiates a different mapping.");
151
152DEFINE_bool(print_triage_alerts,
153 false,
154 "Print triage alerts, i.e. a list of potential problems.");
Bjorn Terelius2eb31882017-11-30 15:15:25 +0100155
terelius2ee076d2017-08-15 02:04:02 -0700156void SetAllPlotFlags(bool setting);
157
philipel23c7f252017-07-14 06:30:03 -0700158
terelius54ce6802016-07-13 06:44:41 -0700159int main(int argc, char* argv[]) {
160 std::string program_name = argv[0];
161 std::string usage =
162 "A tool for visualizing WebRTC event logs.\n"
163 "Example usage:\n" +
164 program_name + " <logfile> | python\n" + "Run " + program_name +
165 " --help for a list of command line options\n";
terelius2ee076d2017-08-15 02:04:02 -0700166
167 // Parse command line flags without removing them. We're only interested in
168 // the |plot_profile| flag.
169 rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, false);
170 if (strcmp(FLAG_plot_profile, "all") == 0) {
171 SetAllPlotFlags(true);
172 } else if (strcmp(FLAG_plot_profile, "none") == 0) {
173 SetAllPlotFlags(false);
Bjorn Terelius1edfff92017-10-11 13:15:19 +0200174 } else if (strcmp(FLAG_plot_profile, "sendside_bwe") == 0) {
175 SetAllPlotFlags(false);
176 FLAG_plot_outgoing_packet_sizes = true;
177 FLAG_plot_outgoing_bitrate = true;
178 FLAG_plot_outgoing_stream_bitrate = true;
179 FLAG_plot_simulated_sendside_bwe = true;
180 FLAG_plot_network_delay_feedback = true;
181 FLAG_plot_fraction_loss_feedback = true;
182 } else if (strcmp(FLAG_plot_profile, "receiveside_bwe") == 0) {
183 SetAllPlotFlags(false);
184 FLAG_plot_incoming_packet_sizes = true;
185 FLAG_plot_incoming_delay_delta = true;
186 FLAG_plot_incoming_delay = true;
187 FLAG_plot_incoming_loss_rate = true;
188 FLAG_plot_incoming_bitrate = true;
189 FLAG_plot_incoming_stream_bitrate = true;
190 FLAG_plot_simulated_receiveside_bwe = true;
terelius2ee076d2017-08-15 02:04:02 -0700191 } else if (strcmp(FLAG_plot_profile, "default") == 0) {
192 // Do nothing.
193 } else {
194 rtc::Flag* plot_profile_flag = rtc::FlagList::Lookup("plot_profile");
195 RTC_CHECK(plot_profile_flag);
196 plot_profile_flag->Print(false);
197 }
198 // Parse the remaining flags. They are applied relative to the chosen profile.
kjellander4fa5be42017-05-16 00:01:23 -0700199 rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true);
terelius2ee076d2017-08-15 02:04:02 -0700200
tereliusc4a5c142017-07-20 08:05:09 -0700201 if (argc != 2 || FLAG_help) {
kjellander4fa5be42017-05-16 00:01:23 -0700202 // Print usage information.
203 std::cout << usage;
tereliusc4a5c142017-07-20 08:05:09 -0700204 if (FLAG_help)
205 rtc::FlagList::Print(nullptr, false);
kjellander4fa5be42017-05-16 00:01:23 -0700206 return 0;
207 }
208
henrik.lundin3c938fc2017-06-14 06:09:58 -0700209 webrtc::test::SetExecutablePath(argv[0]);
Bjorn Tereliusedab3012018-01-31 17:23:40 +0100210 webrtc::test::ValidateFieldTrialsStringOrDie(FLAG_force_fieldtrials);
211 // InitFieldTrialsFromString stores the char*, so the char array must outlive
212 // the application.
213 webrtc::field_trial::InitFieldTrialsFromString(FLAG_force_fieldtrials);
stefan985d2802016-11-15 06:54:09 -0800214
terelius54ce6802016-07-13 06:44:41 -0700215 std::string filename = argv[1];
216
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200217 webrtc::ParsedRtcEventLogNew::UnconfiguredHeaderExtensions header_extensions =
218 webrtc::ParsedRtcEventLogNew::UnconfiguredHeaderExtensions::kDontParse;
219 if (FLAG_parse_unconfigured_header_extensions) {
220 header_extensions = webrtc::ParsedRtcEventLogNew::
221 UnconfiguredHeaderExtensions::kAttemptWebrtcDefaultConfig;
222 }
223 webrtc::ParsedRtcEventLogNew parsed_log(header_extensions);
terelius54ce6802016-07-13 06:44:41 -0700224
225 if (!parsed_log.ParseFile(filename)) {
226 std::cerr << "Could not parse the entire log file." << std::endl;
227 std::cerr << "Proceeding to analyze the first "
228 << parsed_log.GetNumberOfEvents() << " events in the file."
229 << std::endl;
230 }
231
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200232 webrtc::EventLogAnalyzer analyzer(parsed_log);
233 std::unique_ptr<webrtc::PlotCollection> collection(
234 new webrtc::PythonPlotCollection());
terelius54ce6802016-07-13 06:44:41 -0700235
terelius2ee076d2017-08-15 02:04:02 -0700236 if (FLAG_plot_incoming_packet_sizes) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200237 analyzer.CreatePacketGraph(webrtc::kIncomingPacket,
terelius2ee076d2017-08-15 02:04:02 -0700238 collection->AppendNewPlot());
terelius54ce6802016-07-13 06:44:41 -0700239 }
terelius2ee076d2017-08-15 02:04:02 -0700240 if (FLAG_plot_outgoing_packet_sizes) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200241 analyzer.CreatePacketGraph(webrtc::kOutgoingPacket,
terelius2ee076d2017-08-15 02:04:02 -0700242 collection->AppendNewPlot());
243 }
244 if (FLAG_plot_incoming_packet_count) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200245 analyzer.CreateAccumulatedPacketsGraph(webrtc::kIncomingPacket,
246 collection->AppendNewPlot());
terelius2ee076d2017-08-15 02:04:02 -0700247 }
248 if (FLAG_plot_outgoing_packet_count) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200249 analyzer.CreateAccumulatedPacketsGraph(webrtc::kOutgoingPacket,
250 collection->AppendNewPlot());
terelius2ee076d2017-08-15 02:04:02 -0700251 }
252 if (FLAG_plot_audio_playout) {
tereliusdc35dcd2016-08-01 12:03:27 -0700253 analyzer.CreatePlayoutGraph(collection->AppendNewPlot());
terelius54ce6802016-07-13 06:44:41 -0700254 }
terelius2ee076d2017-08-15 02:04:02 -0700255 if (FLAG_plot_audio_level) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200256 analyzer.CreateAudioLevelGraph(webrtc::kIncomingPacket,
257 collection->AppendNewPlot());
258 analyzer.CreateAudioLevelGraph(webrtc::kOutgoingPacket,
259 collection->AppendNewPlot());
ivocaac9d6f2016-09-22 07:01:47 -0700260 }
terelius2ee076d2017-08-15 02:04:02 -0700261 if (FLAG_plot_incoming_sequence_number_delta) {
262 analyzer.CreateSequenceNumberGraph(collection->AppendNewPlot());
terelius54ce6802016-07-13 06:44:41 -0700263 }
terelius2ee076d2017-08-15 02:04:02 -0700264 if (FLAG_plot_incoming_delay_delta) {
265 analyzer.CreateIncomingDelayDeltaGraph(collection->AppendNewPlot());
terelius54ce6802016-07-13 06:44:41 -0700266 }
terelius2ee076d2017-08-15 02:04:02 -0700267 if (FLAG_plot_incoming_delay) {
268 analyzer.CreateIncomingDelayGraph(collection->AppendNewPlot());
terelius54ce6802016-07-13 06:44:41 -0700269 }
terelius2ee076d2017-08-15 02:04:02 -0700270 if (FLAG_plot_incoming_loss_rate) {
Stefan Holmer99f8e082016-09-09 13:37:50 +0200271 analyzer.CreateIncomingPacketLossGraph(collection->AppendNewPlot());
tereliusf736d232016-08-04 10:00:11 -0700272 }
terelius2ee076d2017-08-15 02:04:02 -0700273 if (FLAG_plot_incoming_bitrate) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200274 analyzer.CreateTotalIncomingBitrateGraph(collection->AppendNewPlot());
terelius54ce6802016-07-13 06:44:41 -0700275 }
terelius2ee076d2017-08-15 02:04:02 -0700276 if (FLAG_plot_outgoing_bitrate) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200277 analyzer.CreateTotalOutgoingBitrateGraph(collection->AppendNewPlot(),
278 FLAG_show_detector_state,
279 FLAG_show_alr_state);
terelius54ce6802016-07-13 06:44:41 -0700280 }
terelius2ee076d2017-08-15 02:04:02 -0700281 if (FLAG_plot_incoming_stream_bitrate) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200282 analyzer.CreateStreamBitrateGraph(webrtc::kIncomingPacket,
terelius2ee076d2017-08-15 02:04:02 -0700283 collection->AppendNewPlot());
284 }
285 if (FLAG_plot_outgoing_stream_bitrate) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200286 analyzer.CreateStreamBitrateGraph(webrtc::kOutgoingPacket,
terelius2ee076d2017-08-15 02:04:02 -0700287 collection->AppendNewPlot());
288 }
Bjorn Terelius28db2662017-10-04 14:22:43 +0200289 if (FLAG_plot_simulated_receiveside_bwe) {
290 analyzer.CreateReceiveSideBweSimulationGraph(collection->AppendNewPlot());
291 }
terelius2ee076d2017-08-15 02:04:02 -0700292 if (FLAG_plot_simulated_sendside_bwe) {
Bjorn Terelius28db2662017-10-04 14:22:43 +0200293 analyzer.CreateSendSideBweSimulationGraph(collection->AppendNewPlot());
Stefan Holmer13181032016-07-29 14:48:54 +0200294 }
terelius2ee076d2017-08-15 02:04:02 -0700295 if (FLAG_plot_network_delay_feedback) {
tereliuse34c19c2016-08-15 08:47:14 -0700296 analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot());
stefanc3de0332016-08-02 07:22:17 -0700297 }
terelius2ee076d2017-08-15 02:04:02 -0700298 if (FLAG_plot_fraction_loss_feedback) {
299 analyzer.CreateFractionLossGraph(collection->AppendNewPlot());
300 }
301 if (FLAG_plot_timestamps) {
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200302 analyzer.CreateTimestampGraph(webrtc::kIncomingPacket,
303 collection->AppendNewPlot());
304 analyzer.CreateTimestampGraph(webrtc::kOutgoingPacket,
305 collection->AppendNewPlot());
stefane372d3c2017-02-02 08:04:18 -0800306 }
Bjorn Terelius0295a962017-10-25 17:42:41 +0200307 if (FLAG_plot_pacer_delay) {
308 analyzer.CreatePacerDelayGraph(collection->AppendNewPlot());
309 }
terelius2ee076d2017-08-15 02:04:02 -0700310 if (FLAG_plot_audio_encoder_bitrate_bps) {
michaelt6e5b2192017-02-22 07:33:27 -0800311 analyzer.CreateAudioEncoderTargetBitrateGraph(collection->AppendNewPlot());
312 }
terelius2ee076d2017-08-15 02:04:02 -0700313 if (FLAG_plot_audio_encoder_frame_length_ms) {
michaelt6e5b2192017-02-22 07:33:27 -0800314 analyzer.CreateAudioEncoderFrameLengthGraph(collection->AppendNewPlot());
315 }
terelius2ee076d2017-08-15 02:04:02 -0700316 if (FLAG_plot_audio_encoder_packet_loss) {
317 analyzer.CreateAudioEncoderPacketLossGraph(collection->AppendNewPlot());
michaelt6e5b2192017-02-22 07:33:27 -0800318 }
terelius2ee076d2017-08-15 02:04:02 -0700319 if (FLAG_plot_audio_encoder_fec) {
michaelt6e5b2192017-02-22 07:33:27 -0800320 analyzer.CreateAudioEncoderEnableFecGraph(collection->AppendNewPlot());
321 }
terelius2ee076d2017-08-15 02:04:02 -0700322 if (FLAG_plot_audio_encoder_dtx) {
michaelt6e5b2192017-02-22 07:33:27 -0800323 analyzer.CreateAudioEncoderEnableDtxGraph(collection->AppendNewPlot());
324 }
terelius2ee076d2017-08-15 02:04:02 -0700325 if (FLAG_plot_audio_encoder_num_channels) {
michaelt6e5b2192017-02-22 07:33:27 -0800326 analyzer.CreateAudioEncoderNumChannelsGraph(collection->AppendNewPlot());
327 }
terelius2ee076d2017-08-15 02:04:02 -0700328 if (FLAG_plot_audio_jitter_buffer) {
owb7fbeb0b2017-08-16 02:48:33 -0700329 std::string wav_path;
330 if (FLAG_wav_filename[0] != '\0') {
331 wav_path = FLAG_wav_filename;
332 } else {
333 wav_path = webrtc::test::ResourcePath(
334 "audio_processing/conversational_speech/EN_script2_F_sp2_B1", "wav");
335 }
Minyue Lic6ff7572018-05-04 09:46:44 +0200336 auto neteq_stats = analyzer.SimulateNetEq(wav_path, 48000);
337 analyzer.CreateAudioJitterBufferGraph(neteq_stats,
owb7fbeb0b2017-08-16 02:48:33 -0700338 collection->AppendNewPlot());
henrik.lundin3c938fc2017-06-14 06:09:58 -0700339 }
340
Qingsi Wang8eca1ff2018-02-02 11:49:44 -0800341 if (FLAG_plot_ice_candidate_pair_config) {
342 analyzer.CreateIceCandidatePairConfigGraph(collection->AppendNewPlot());
343 }
344 if (FLAG_plot_ice_connectivity_check) {
345 analyzer.CreateIceConnectivityCheckGraph(collection->AppendNewPlot());
346 }
347
tereliusdc35dcd2016-08-01 12:03:27 -0700348 collection->Draw();
terelius54ce6802016-07-13 06:44:41 -0700349
Bjorn Tereliusc4ca1d32018-04-27 14:33:34 +0200350 if (FLAG_print_triage_alerts) {
Bjorn Terelius2eb31882017-11-30 15:15:25 +0100351 analyzer.CreateTriageNotifications();
352 analyzer.PrintNotifications(stderr);
353 }
354
terelius54ce6802016-07-13 06:44:41 -0700355 return 0;
356}
terelius2ee076d2017-08-15 02:04:02 -0700357
358
359void SetAllPlotFlags(bool setting) {
360 FLAG_plot_incoming_packet_sizes = setting;
361 FLAG_plot_outgoing_packet_sizes = setting;
362 FLAG_plot_incoming_packet_count = setting;
363 FLAG_plot_outgoing_packet_count = setting;
364 FLAG_plot_audio_playout = setting;
365 FLAG_plot_audio_level = setting;
366 FLAG_plot_incoming_sequence_number_delta = setting;
367 FLAG_plot_incoming_delay_delta = setting;
368 FLAG_plot_incoming_delay = setting;
369 FLAG_plot_incoming_loss_rate = setting;
370 FLAG_plot_incoming_bitrate = setting;
371 FLAG_plot_outgoing_bitrate = setting;
372 FLAG_plot_incoming_stream_bitrate = setting;
373 FLAG_plot_outgoing_stream_bitrate = setting;
Bjorn Terelius28db2662017-10-04 14:22:43 +0200374 FLAG_plot_simulated_receiveside_bwe = setting;
terelius2ee076d2017-08-15 02:04:02 -0700375 FLAG_plot_simulated_sendside_bwe = setting;
376 FLAG_plot_network_delay_feedback = setting;
377 FLAG_plot_fraction_loss_feedback = setting;
378 FLAG_plot_timestamps = setting;
379 FLAG_plot_audio_encoder_bitrate_bps = setting;
380 FLAG_plot_audio_encoder_frame_length_ms = setting;
381 FLAG_plot_audio_encoder_packet_loss = setting;
382 FLAG_plot_audio_encoder_fec = setting;
383 FLAG_plot_audio_encoder_dtx = setting;
384 FLAG_plot_audio_encoder_num_channels = setting;
385 FLAG_plot_audio_jitter_buffer = setting;
Qingsi Wang8eca1ff2018-02-02 11:49:44 -0800386 FLAG_plot_ice_candidate_pair_config = setting;
387 FLAG_plot_ice_connectivity_check = setting;
terelius2ee076d2017-08-15 02:04:02 -0700388}