Add support for audio in latency visualization.
The RTC event log analyzer would previously only plot network latency for incoming video streams. (The latency is computed from the capture time in the RTP header, and the packet receive time.) This CL adds support for audio packets, which requires estimating the RTP clock frequency for the incoming packets. Bug: None Change-Id: Idf1ff9febfdd4097976b22a61f1c5679deb6068c Reviewed-on: https://webrtc-review.googlesource.com/c/108784 Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25580}
This commit is contained in:
committed by
Commit Bot
parent
d8aa9f93e8
commit
6c373cccbb
@ -54,10 +54,6 @@ WEBRTC_DEFINE_bool(
|
||||
false,
|
||||
"Plot the sequence number difference between consecutive incoming "
|
||||
"packets.");
|
||||
WEBRTC_DEFINE_bool(
|
||||
plot_incoming_delay_delta,
|
||||
false,
|
||||
"Plot the difference in 1-way path delay between consecutive packets.");
|
||||
WEBRTC_DEFINE_bool(
|
||||
plot_incoming_delay,
|
||||
true,
|
||||
@ -216,7 +212,6 @@ int main(int argc, char* argv[]) {
|
||||
} else if (strcmp(FLAG_plot_profile, "receiveside_bwe") == 0) {
|
||||
SetAllPlotFlags(false);
|
||||
FLAG_plot_incoming_packet_sizes = true;
|
||||
FLAG_plot_incoming_delay_delta = true;
|
||||
FLAG_plot_incoming_delay = true;
|
||||
FLAG_plot_incoming_loss_rate = true;
|
||||
FLAG_plot_incoming_bitrate = true;
|
||||
@ -298,9 +293,6 @@ int main(int argc, char* argv[]) {
|
||||
if (FLAG_plot_incoming_sequence_number_delta) {
|
||||
analyzer.CreateSequenceNumberGraph(collection->AppendNewPlot());
|
||||
}
|
||||
if (FLAG_plot_incoming_delay_delta) {
|
||||
analyzer.CreateIncomingDelayDeltaGraph(collection->AppendNewPlot());
|
||||
}
|
||||
if (FLAG_plot_incoming_delay) {
|
||||
analyzer.CreateIncomingDelayGraph(collection->AppendNewPlot());
|
||||
}
|
||||
@ -487,7 +479,6 @@ void SetAllPlotFlags(bool setting) {
|
||||
FLAG_plot_audio_playout = setting;
|
||||
FLAG_plot_audio_level = setting;
|
||||
FLAG_plot_incoming_sequence_number_delta = setting;
|
||||
FLAG_plot_incoming_delay_delta = setting;
|
||||
FLAG_plot_incoming_delay = setting;
|
||||
FLAG_plot_incoming_loss_rate = setting;
|
||||
FLAG_plot_incoming_bitrate = setting;
|
||||
|
||||
Reference in New Issue
Block a user