Plot bitrate allocation per layer based on RTCP XR target bitrate.
Bug: webrtc:10312 Change-Id: Ic0221e71d27d1fdc35c50a93e7e2303953c4fbf5 Reviewed-on: https://webrtc-review.googlesource.com/c/123222 Reviewed-by: Mirta Dvornicic <mirtad@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26717}
This commit is contained in:
committed by
Commit Bot
parent
b03ab7107c
commit
9775a58a76
@ -94,6 +94,14 @@ WEBRTC_DEFINE_bool(plot_incoming_stream_bitrate,
|
||||
WEBRTC_DEFINE_bool(plot_outgoing_stream_bitrate,
|
||||
true,
|
||||
"Plot the bitrate used by each outgoing stream.");
|
||||
WEBRTC_DEFINE_bool(plot_incoming_layer_bitrate_allocation,
|
||||
false,
|
||||
"Plot the target bitrate for each incoming layer. Requires "
|
||||
"incoming RTCP XR with target bitrate to be populated.");
|
||||
WEBRTC_DEFINE_bool(plot_outgoing_layer_bitrate_allocation,
|
||||
false,
|
||||
"Plot the target bitrate for each outgoing layer. Requires "
|
||||
"outgoing RTCP XR with target bitrate to be populated.");
|
||||
WEBRTC_DEFINE_bool(
|
||||
plot_simulated_receiveside_bwe,
|
||||
false,
|
||||
@ -343,6 +351,14 @@ int main(int argc, char* argv[]) {
|
||||
analyzer.CreateStreamBitrateGraph(webrtc::kOutgoingPacket,
|
||||
collection->AppendNewPlot());
|
||||
}
|
||||
if (FLAG_plot_incoming_layer_bitrate_allocation) {
|
||||
analyzer.CreateBitrateAllocationGraph(webrtc::kIncomingPacket,
|
||||
collection->AppendNewPlot());
|
||||
}
|
||||
if (FLAG_plot_outgoing_layer_bitrate_allocation) {
|
||||
analyzer.CreateBitrateAllocationGraph(webrtc::kOutgoingPacket,
|
||||
collection->AppendNewPlot());
|
||||
}
|
||||
if (FLAG_plot_simulated_receiveside_bwe) {
|
||||
analyzer.CreateReceiveSideBweSimulationGraph(collection->AppendNewPlot());
|
||||
}
|
||||
@ -522,6 +538,8 @@ void SetAllPlotFlags(bool setting) {
|
||||
FLAG_plot_outgoing_bitrate = setting;
|
||||
FLAG_plot_incoming_stream_bitrate = setting;
|
||||
FLAG_plot_outgoing_stream_bitrate = setting;
|
||||
FLAG_plot_incoming_layer_bitrate_allocation = setting;
|
||||
FLAG_plot_outgoing_layer_bitrate_allocation = setting;
|
||||
FLAG_plot_simulated_receiveside_bwe = setting;
|
||||
FLAG_plot_simulated_sendside_bwe = setting;
|
||||
FLAG_plot_network_delay_feedback = setting;
|
||||
|
||||
Reference in New Issue
Block a user