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 | |
| 11 | #include <iostream> |
| 12 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 13 | #include "logging/rtc_event_log/rtc_event_log_parser.h" |
| 14 | #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" |
| 18 | #include "test/field_trial.h" |
| 19 | #include "test/testsupport/fileutils.h" |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 20 | |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 21 | DEFINE_string(plot_profile, |
| 22 | "default", |
| 23 | "A profile that selects a certain subset of the plots. Currently " |
| 24 | "defined profiles are \"all\", \"none\" and \"default\""); |
| 25 | |
| 26 | DEFINE_bool(plot_incoming_packet_sizes, |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 27 | false, |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 28 | "Plot bar graph showing the size of each incoming packet."); |
| 29 | DEFINE_bool(plot_outgoing_packet_sizes, |
| 30 | false, |
| 31 | "Plot bar graph showing the size of each outgoing packet."); |
| 32 | DEFINE_bool(plot_incoming_packet_count, |
| 33 | false, |
| 34 | "Plot the accumulated number of packets for each incoming stream."); |
| 35 | DEFINE_bool(plot_outgoing_packet_count, |
| 36 | false, |
| 37 | "Plot the accumulated number of packets for each outgoing stream."); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 38 | DEFINE_bool(plot_audio_playout, |
| 39 | false, |
| 40 | "Plot bar graph showing the time between each audio playout."); |
ivoc | aac9d6f | 2016-09-22 07:01:47 -0700 | [diff] [blame] | 41 | DEFINE_bool(plot_audio_level, |
| 42 | false, |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 43 | "Plot line graph showing the audio level of incoming audio."); |
| 44 | DEFINE_bool(plot_incoming_sequence_number_delta, |
| 45 | false, |
| 46 | "Plot the sequence number difference between consecutive incoming " |
| 47 | "packets."); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 48 | DEFINE_bool( |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 49 | plot_incoming_delay_delta, |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 50 | false, |
| 51 | "Plot the difference in 1-way path delay between consecutive packets."); |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 52 | DEFINE_bool(plot_incoming_delay, |
| 53 | true, |
| 54 | "Plot the 1-way path delay for incoming packets, normalized so " |
| 55 | "that the first packet has delay 0."); |
| 56 | DEFINE_bool(plot_incoming_loss_rate, |
| 57 | true, |
| 58 | "Compute the loss rate for incoming packets using a method that's " |
| 59 | "similar to the one used for RTCP SR and RR fraction lost. Note " |
| 60 | "that the loss rate can be negative if packets are duplicated or " |
| 61 | "reordered."); |
| 62 | DEFINE_bool(plot_incoming_bitrate, |
| 63 | true, |
| 64 | "Plot the total bitrate used by all incoming streams."); |
| 65 | DEFINE_bool(plot_outgoing_bitrate, |
| 66 | true, |
| 67 | "Plot the total bitrate used by all outgoing streams."); |
| 68 | DEFINE_bool(plot_incoming_stream_bitrate, |
| 69 | true, |
| 70 | "Plot the bitrate used by each incoming stream."); |
| 71 | DEFINE_bool(plot_outgoing_stream_bitrate, |
| 72 | true, |
| 73 | "Plot the bitrate used by each outgoing stream."); |
Bjorn Terelius | 28db266 | 2017-10-04 14:22:43 +0200 | [diff] [blame^] | 74 | DEFINE_bool(plot_simulated_receiveside_bwe, |
| 75 | false, |
| 76 | "Run the receive-side bandwidth estimator with the incoming rtp " |
| 77 | "packets and plot the resulting estimate."); |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 78 | DEFINE_bool(plot_simulated_sendside_bwe, |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 79 | false, |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 80 | "Run the send-side bandwidth estimator with the outgoing rtp and " |
| 81 | "incoming rtcp and plot the resulting estimate."); |
stefan | c3de033 | 2016-08-02 07:22:17 -0700 | [diff] [blame] | 82 | DEFINE_bool(plot_network_delay_feedback, |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 83 | true, |
stefan | c3de033 | 2016-08-02 07:22:17 -0700 | [diff] [blame] | 84 | "Compute network delay based on sent packets and the received " |
| 85 | "transport feedback."); |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 86 | DEFINE_bool(plot_fraction_loss_feedback, |
| 87 | true, |
terelius | f736d23 | 2016-08-04 10:00:11 -0700 | [diff] [blame] | 88 | "Plot packet loss in percent for outgoing packets (as perceived by " |
| 89 | "the send-side bandwidth estimator)."); |
stefan | e372d3c | 2017-02-02 08:04:18 -0800 | [diff] [blame] | 90 | DEFINE_bool(plot_timestamps, |
| 91 | false, |
| 92 | "Plot the rtp timestamps of all rtp and rtcp packets over time."); |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 93 | DEFINE_bool(plot_audio_encoder_bitrate_bps, |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 94 | false, |
| 95 | "Plot the audio encoder target bitrate."); |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 96 | DEFINE_bool(plot_audio_encoder_frame_length_ms, |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 97 | false, |
| 98 | "Plot the audio encoder frame length."); |
| 99 | DEFINE_bool( |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 100 | plot_audio_encoder_packet_loss, |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 101 | false, |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 102 | "Plot the uplink packet loss fraction which is sent to the audio encoder."); |
| 103 | DEFINE_bool(plot_audio_encoder_fec, false, "Plot the audio encoder FEC."); |
| 104 | DEFINE_bool(plot_audio_encoder_dtx, false, "Plot the audio encoder DTX."); |
| 105 | DEFINE_bool(plot_audio_encoder_num_channels, |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 106 | false, |
| 107 | "Plot the audio encoder number of channels."); |
henrik.lundin | 3c938fc | 2017-06-14 06:09:58 -0700 | [diff] [blame] | 108 | DEFINE_bool(plot_audio_jitter_buffer, |
| 109 | false, |
| 110 | "Plot the audio jitter buffer delay profile."); |
stefan | 985d280 | 2016-11-15 06:54:09 -0800 | [diff] [blame] | 111 | DEFINE_string( |
| 112 | force_fieldtrials, |
| 113 | "", |
| 114 | "Field trials control experimental feature code which can be forced. " |
| 115 | "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enabled/" |
| 116 | " will assign the group Enabled to field trial WebRTC-FooFeature. Multiple " |
| 117 | "trials are separated by \"/\""); |
owb | 7fbeb0b | 2017-08-16 02:48:33 -0700 | [diff] [blame] | 118 | DEFINE_string(wav_filename, |
| 119 | "", |
| 120 | "Path to wav file used for simulation of jitter buffer"); |
kjellander | 4fa5be4 | 2017-05-16 00:01:23 -0700 | [diff] [blame] | 121 | DEFINE_bool(help, false, "prints this message"); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 122 | |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 123 | DEFINE_bool(show_detector_state, |
| 124 | false, |
| 125 | "Show the state of the delay based BWE detector on the total " |
| 126 | "bitrate graph"); |
| 127 | |
| 128 | void SetAllPlotFlags(bool setting); |
| 129 | |
philipel | 23c7f25 | 2017-07-14 06:30:03 -0700 | [diff] [blame] | 130 | |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 131 | int main(int argc, char* argv[]) { |
| 132 | std::string program_name = argv[0]; |
| 133 | std::string usage = |
| 134 | "A tool for visualizing WebRTC event logs.\n" |
| 135 | "Example usage:\n" + |
| 136 | program_name + " <logfile> | python\n" + "Run " + program_name + |
| 137 | " --help for a list of command line options\n"; |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 138 | |
| 139 | // Parse command line flags without removing them. We're only interested in |
| 140 | // the |plot_profile| flag. |
| 141 | rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, false); |
| 142 | if (strcmp(FLAG_plot_profile, "all") == 0) { |
| 143 | SetAllPlotFlags(true); |
| 144 | } else if (strcmp(FLAG_plot_profile, "none") == 0) { |
| 145 | SetAllPlotFlags(false); |
| 146 | } else if (strcmp(FLAG_plot_profile, "default") == 0) { |
| 147 | // Do nothing. |
| 148 | } else { |
| 149 | rtc::Flag* plot_profile_flag = rtc::FlagList::Lookup("plot_profile"); |
| 150 | RTC_CHECK(plot_profile_flag); |
| 151 | plot_profile_flag->Print(false); |
| 152 | } |
| 153 | // Parse the remaining flags. They are applied relative to the chosen profile. |
kjellander | 4fa5be4 | 2017-05-16 00:01:23 -0700 | [diff] [blame] | 154 | rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true); |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 155 | |
terelius | c4a5c14 | 2017-07-20 08:05:09 -0700 | [diff] [blame] | 156 | if (argc != 2 || FLAG_help) { |
kjellander | 4fa5be4 | 2017-05-16 00:01:23 -0700 | [diff] [blame] | 157 | // Print usage information. |
| 158 | std::cout << usage; |
terelius | c4a5c14 | 2017-07-20 08:05:09 -0700 | [diff] [blame] | 159 | if (FLAG_help) |
| 160 | rtc::FlagList::Print(nullptr, false); |
kjellander | 4fa5be4 | 2017-05-16 00:01:23 -0700 | [diff] [blame] | 161 | return 0; |
| 162 | } |
| 163 | |
henrik.lundin | 3c938fc | 2017-06-14 06:09:58 -0700 | [diff] [blame] | 164 | webrtc::test::SetExecutablePath(argv[0]); |
kjellander | 4fa5be4 | 2017-05-16 00:01:23 -0700 | [diff] [blame] | 165 | webrtc::test::InitFieldTrialsFromString(FLAG_force_fieldtrials); |
stefan | 985d280 | 2016-11-15 06:54:09 -0800 | [diff] [blame] | 166 | |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 167 | std::string filename = argv[1]; |
| 168 | |
| 169 | webrtc::ParsedRtcEventLog parsed_log; |
| 170 | |
| 171 | if (!parsed_log.ParseFile(filename)) { |
| 172 | std::cerr << "Could not parse the entire log file." << std::endl; |
| 173 | std::cerr << "Proceeding to analyze the first " |
| 174 | << parsed_log.GetNumberOfEvents() << " events in the file." |
| 175 | << std::endl; |
| 176 | } |
| 177 | |
| 178 | webrtc::plotting::EventLogAnalyzer analyzer(parsed_log); |
| 179 | std::unique_ptr<webrtc::plotting::PlotCollection> collection( |
| 180 | new webrtc::plotting::PythonPlotCollection()); |
| 181 | |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 182 | if (FLAG_plot_incoming_packet_sizes) { |
| 183 | analyzer.CreatePacketGraph(webrtc::PacketDirection::kIncomingPacket, |
| 184 | collection->AppendNewPlot()); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 185 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 186 | if (FLAG_plot_outgoing_packet_sizes) { |
| 187 | analyzer.CreatePacketGraph(webrtc::PacketDirection::kOutgoingPacket, |
| 188 | collection->AppendNewPlot()); |
| 189 | } |
| 190 | if (FLAG_plot_incoming_packet_count) { |
| 191 | analyzer.CreateAccumulatedPacketsGraph( |
| 192 | webrtc::PacketDirection::kIncomingPacket, collection->AppendNewPlot()); |
| 193 | } |
| 194 | if (FLAG_plot_outgoing_packet_count) { |
| 195 | analyzer.CreateAccumulatedPacketsGraph( |
| 196 | webrtc::PacketDirection::kOutgoingPacket, collection->AppendNewPlot()); |
| 197 | } |
| 198 | if (FLAG_plot_audio_playout) { |
terelius | dc35dcd | 2016-08-01 12:03:27 -0700 | [diff] [blame] | 199 | analyzer.CreatePlayoutGraph(collection->AppendNewPlot()); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 200 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 201 | if (FLAG_plot_audio_level) { |
ivoc | aac9d6f | 2016-09-22 07:01:47 -0700 | [diff] [blame] | 202 | analyzer.CreateAudioLevelGraph(collection->AppendNewPlot()); |
| 203 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 204 | if (FLAG_plot_incoming_sequence_number_delta) { |
| 205 | analyzer.CreateSequenceNumberGraph(collection->AppendNewPlot()); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 206 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 207 | if (FLAG_plot_incoming_delay_delta) { |
| 208 | analyzer.CreateIncomingDelayDeltaGraph(collection->AppendNewPlot()); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 209 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 210 | if (FLAG_plot_incoming_delay) { |
| 211 | analyzer.CreateIncomingDelayGraph(collection->AppendNewPlot()); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 212 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 213 | if (FLAG_plot_incoming_loss_rate) { |
Stefan Holmer | 99f8e08 | 2016-09-09 13:37:50 +0200 | [diff] [blame] | 214 | analyzer.CreateIncomingPacketLossGraph(collection->AppendNewPlot()); |
terelius | f736d23 | 2016-08-04 10:00:11 -0700 | [diff] [blame] | 215 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 216 | if (FLAG_plot_incoming_bitrate) { |
| 217 | analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kIncomingPacket, |
| 218 | collection->AppendNewPlot(), |
| 219 | FLAG_show_detector_state); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 220 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 221 | if (FLAG_plot_outgoing_bitrate) { |
| 222 | analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kOutgoingPacket, |
| 223 | collection->AppendNewPlot(), |
| 224 | FLAG_show_detector_state); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 225 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 226 | if (FLAG_plot_incoming_stream_bitrate) { |
| 227 | analyzer.CreateStreamBitrateGraph(webrtc::PacketDirection::kIncomingPacket, |
| 228 | collection->AppendNewPlot()); |
| 229 | } |
| 230 | if (FLAG_plot_outgoing_stream_bitrate) { |
| 231 | analyzer.CreateStreamBitrateGraph(webrtc::PacketDirection::kOutgoingPacket, |
| 232 | collection->AppendNewPlot()); |
| 233 | } |
Bjorn Terelius | 28db266 | 2017-10-04 14:22:43 +0200 | [diff] [blame^] | 234 | if (FLAG_plot_simulated_receiveside_bwe) { |
| 235 | analyzer.CreateReceiveSideBweSimulationGraph(collection->AppendNewPlot()); |
| 236 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 237 | if (FLAG_plot_simulated_sendside_bwe) { |
Bjorn Terelius | 28db266 | 2017-10-04 14:22:43 +0200 | [diff] [blame^] | 238 | analyzer.CreateSendSideBweSimulationGraph(collection->AppendNewPlot()); |
Stefan Holmer | 1318103 | 2016-07-29 14:48:54 +0200 | [diff] [blame] | 239 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 240 | if (FLAG_plot_network_delay_feedback) { |
terelius | e34c19c | 2016-08-15 08:47:14 -0700 | [diff] [blame] | 241 | analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); |
stefan | c3de033 | 2016-08-02 07:22:17 -0700 | [diff] [blame] | 242 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 243 | if (FLAG_plot_fraction_loss_feedback) { |
| 244 | analyzer.CreateFractionLossGraph(collection->AppendNewPlot()); |
| 245 | } |
| 246 | if (FLAG_plot_timestamps) { |
stefan | e372d3c | 2017-02-02 08:04:18 -0800 | [diff] [blame] | 247 | analyzer.CreateTimestampGraph(collection->AppendNewPlot()); |
| 248 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 249 | if (FLAG_plot_audio_encoder_bitrate_bps) { |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 250 | analyzer.CreateAudioEncoderTargetBitrateGraph(collection->AppendNewPlot()); |
| 251 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 252 | if (FLAG_plot_audio_encoder_frame_length_ms) { |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 253 | analyzer.CreateAudioEncoderFrameLengthGraph(collection->AppendNewPlot()); |
| 254 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 255 | if (FLAG_plot_audio_encoder_packet_loss) { |
| 256 | analyzer.CreateAudioEncoderPacketLossGraph(collection->AppendNewPlot()); |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 257 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 258 | if (FLAG_plot_audio_encoder_fec) { |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 259 | analyzer.CreateAudioEncoderEnableFecGraph(collection->AppendNewPlot()); |
| 260 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 261 | if (FLAG_plot_audio_encoder_dtx) { |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 262 | analyzer.CreateAudioEncoderEnableDtxGraph(collection->AppendNewPlot()); |
| 263 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 264 | if (FLAG_plot_audio_encoder_num_channels) { |
michaelt | 6e5b219 | 2017-02-22 07:33:27 -0800 | [diff] [blame] | 265 | analyzer.CreateAudioEncoderNumChannelsGraph(collection->AppendNewPlot()); |
| 266 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 267 | if (FLAG_plot_audio_jitter_buffer) { |
owb | 7fbeb0b | 2017-08-16 02:48:33 -0700 | [diff] [blame] | 268 | std::string wav_path; |
| 269 | if (FLAG_wav_filename[0] != '\0') { |
| 270 | wav_path = FLAG_wav_filename; |
| 271 | } else { |
| 272 | wav_path = webrtc::test::ResourcePath( |
| 273 | "audio_processing/conversational_speech/EN_script2_F_sp2_B1", "wav"); |
| 274 | } |
| 275 | analyzer.CreateAudioJitterBufferGraph(wav_path, 48000, |
| 276 | collection->AppendNewPlot()); |
henrik.lundin | 3c938fc | 2017-06-14 06:09:58 -0700 | [diff] [blame] | 277 | } |
| 278 | |
terelius | dc35dcd | 2016-08-01 12:03:27 -0700 | [diff] [blame] | 279 | collection->Draw(); |
terelius | 54ce680 | 2016-07-13 06:44:41 -0700 | [diff] [blame] | 280 | |
| 281 | return 0; |
| 282 | } |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 283 | |
| 284 | |
| 285 | void SetAllPlotFlags(bool setting) { |
| 286 | FLAG_plot_incoming_packet_sizes = setting; |
| 287 | FLAG_plot_outgoing_packet_sizes = setting; |
| 288 | FLAG_plot_incoming_packet_count = setting; |
| 289 | FLAG_plot_outgoing_packet_count = setting; |
| 290 | FLAG_plot_audio_playout = setting; |
| 291 | FLAG_plot_audio_level = setting; |
| 292 | FLAG_plot_incoming_sequence_number_delta = setting; |
| 293 | FLAG_plot_incoming_delay_delta = setting; |
| 294 | FLAG_plot_incoming_delay = setting; |
| 295 | FLAG_plot_incoming_loss_rate = setting; |
| 296 | FLAG_plot_incoming_bitrate = setting; |
| 297 | FLAG_plot_outgoing_bitrate = setting; |
| 298 | FLAG_plot_incoming_stream_bitrate = setting; |
| 299 | FLAG_plot_outgoing_stream_bitrate = setting; |
Bjorn Terelius | 28db266 | 2017-10-04 14:22:43 +0200 | [diff] [blame^] | 300 | FLAG_plot_simulated_receiveside_bwe = setting; |
terelius | 2ee076d | 2017-08-15 02:04:02 -0700 | [diff] [blame] | 301 | FLAG_plot_simulated_sendside_bwe = setting; |
| 302 | FLAG_plot_network_delay_feedback = setting; |
| 303 | FLAG_plot_fraction_loss_feedback = setting; |
| 304 | FLAG_plot_timestamps = setting; |
| 305 | FLAG_plot_audio_encoder_bitrate_bps = setting; |
| 306 | FLAG_plot_audio_encoder_frame_length_ms = setting; |
| 307 | FLAG_plot_audio_encoder_packet_loss = setting; |
| 308 | FLAG_plot_audio_encoder_fec = setting; |
| 309 | FLAG_plot_audio_encoder_dtx = setting; |
| 310 | FLAG_plot_audio_encoder_num_channels = setting; |
| 311 | FLAG_plot_audio_jitter_buffer = setting; |
| 312 | } |