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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "Plot the total bitrate used by all incoming streams."); | 64 "Plot the total bitrate used by all incoming streams."); |
65 DEFINE_bool(plot_outgoing_bitrate, | 65 DEFINE_bool(plot_outgoing_bitrate, |
66 true, | 66 true, |
67 "Plot the total bitrate used by all outgoing streams."); | 67 "Plot the total bitrate used by all outgoing streams."); |
68 DEFINE_bool(plot_incoming_stream_bitrate, | 68 DEFINE_bool(plot_incoming_stream_bitrate, |
69 true, | 69 true, |
70 "Plot the bitrate used by each incoming stream."); | 70 "Plot the bitrate used by each incoming stream."); |
71 DEFINE_bool(plot_outgoing_stream_bitrate, | 71 DEFINE_bool(plot_outgoing_stream_bitrate, |
72 true, | 72 true, |
73 "Plot the bitrate used by each outgoing stream."); | 73 "Plot the bitrate used by each outgoing stream."); |
| 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."); |
74 DEFINE_bool(plot_simulated_sendside_bwe, | 78 DEFINE_bool(plot_simulated_sendside_bwe, |
75 false, | 79 false, |
76 "Run the send-side bandwidth estimator with the outgoing rtp and " | 80 "Run the send-side bandwidth estimator with the outgoing rtp and " |
77 "incoming rtcp and plot the resulting estimate."); | 81 "incoming rtcp and plot the resulting estimate."); |
78 DEFINE_bool(plot_network_delay_feedback, | 82 DEFINE_bool(plot_network_delay_feedback, |
79 true, | 83 true, |
80 "Compute network delay based on sent packets and the received " | 84 "Compute network delay based on sent packets and the received " |
81 "transport feedback."); | 85 "transport feedback."); |
82 DEFINE_bool(plot_fraction_loss_feedback, | 86 DEFINE_bool(plot_fraction_loss_feedback, |
83 true, | 87 true, |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 FLAG_show_detector_state); | 224 FLAG_show_detector_state); |
221 } | 225 } |
222 if (FLAG_plot_incoming_stream_bitrate) { | 226 if (FLAG_plot_incoming_stream_bitrate) { |
223 analyzer.CreateStreamBitrateGraph(webrtc::PacketDirection::kIncomingPacket, | 227 analyzer.CreateStreamBitrateGraph(webrtc::PacketDirection::kIncomingPacket, |
224 collection->AppendNewPlot()); | 228 collection->AppendNewPlot()); |
225 } | 229 } |
226 if (FLAG_plot_outgoing_stream_bitrate) { | 230 if (FLAG_plot_outgoing_stream_bitrate) { |
227 analyzer.CreateStreamBitrateGraph(webrtc::PacketDirection::kOutgoingPacket, | 231 analyzer.CreateStreamBitrateGraph(webrtc::PacketDirection::kOutgoingPacket, |
228 collection->AppendNewPlot()); | 232 collection->AppendNewPlot()); |
229 } | 233 } |
| 234 if (FLAG_plot_simulated_receiveside_bwe) { |
| 235 analyzer.CreateReceiveSideBweSimulationGraph(collection->AppendNewPlot()); |
| 236 } |
230 if (FLAG_plot_simulated_sendside_bwe) { | 237 if (FLAG_plot_simulated_sendside_bwe) { |
231 analyzer.CreateBweSimulationGraph(collection->AppendNewPlot()); | 238 analyzer.CreateSendSideBweSimulationGraph(collection->AppendNewPlot()); |
232 } | 239 } |
233 if (FLAG_plot_network_delay_feedback) { | 240 if (FLAG_plot_network_delay_feedback) { |
234 analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); | 241 analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); |
235 } | 242 } |
236 if (FLAG_plot_fraction_loss_feedback) { | 243 if (FLAG_plot_fraction_loss_feedback) { |
237 analyzer.CreateFractionLossGraph(collection->AppendNewPlot()); | 244 analyzer.CreateFractionLossGraph(collection->AppendNewPlot()); |
238 } | 245 } |
239 if (FLAG_plot_timestamps) { | 246 if (FLAG_plot_timestamps) { |
240 analyzer.CreateTimestampGraph(collection->AppendNewPlot()); | 247 analyzer.CreateTimestampGraph(collection->AppendNewPlot()); |
241 } | 248 } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 FLAG_plot_audio_playout = setting; | 290 FLAG_plot_audio_playout = setting; |
284 FLAG_plot_audio_level = setting; | 291 FLAG_plot_audio_level = setting; |
285 FLAG_plot_incoming_sequence_number_delta = setting; | 292 FLAG_plot_incoming_sequence_number_delta = setting; |
286 FLAG_plot_incoming_delay_delta = setting; | 293 FLAG_plot_incoming_delay_delta = setting; |
287 FLAG_plot_incoming_delay = setting; | 294 FLAG_plot_incoming_delay = setting; |
288 FLAG_plot_incoming_loss_rate = setting; | 295 FLAG_plot_incoming_loss_rate = setting; |
289 FLAG_plot_incoming_bitrate = setting; | 296 FLAG_plot_incoming_bitrate = setting; |
290 FLAG_plot_outgoing_bitrate = setting; | 297 FLAG_plot_outgoing_bitrate = setting; |
291 FLAG_plot_incoming_stream_bitrate = setting; | 298 FLAG_plot_incoming_stream_bitrate = setting; |
292 FLAG_plot_outgoing_stream_bitrate = setting; | 299 FLAG_plot_outgoing_stream_bitrate = setting; |
| 300 FLAG_plot_simulated_receiveside_bwe = setting; |
293 FLAG_plot_simulated_sendside_bwe = setting; | 301 FLAG_plot_simulated_sendside_bwe = setting; |
294 FLAG_plot_network_delay_feedback = setting; | 302 FLAG_plot_network_delay_feedback = setting; |
295 FLAG_plot_fraction_loss_feedback = setting; | 303 FLAG_plot_fraction_loss_feedback = setting; |
296 FLAG_plot_timestamps = setting; | 304 FLAG_plot_timestamps = setting; |
297 FLAG_plot_audio_encoder_bitrate_bps = setting; | 305 FLAG_plot_audio_encoder_bitrate_bps = setting; |
298 FLAG_plot_audio_encoder_frame_length_ms = setting; | 306 FLAG_plot_audio_encoder_frame_length_ms = setting; |
299 FLAG_plot_audio_encoder_packet_loss = setting; | 307 FLAG_plot_audio_encoder_packet_loss = setting; |
300 FLAG_plot_audio_encoder_fec = setting; | 308 FLAG_plot_audio_encoder_fec = setting; |
301 FLAG_plot_audio_encoder_dtx = setting; | 309 FLAG_plot_audio_encoder_dtx = setting; |
302 FLAG_plot_audio_encoder_num_channels = setting; | 310 FLAG_plot_audio_encoder_num_channels = setting; |
303 FLAG_plot_audio_jitter_buffer = setting; | 311 FLAG_plot_audio_jitter_buffer = setting; |
304 } | 312 } |
OLD | NEW |