Minor eventlogvisualizer tweaks.

- Clarify sequence number plot.
- Add pacer_delay plot to plot profile 'all'.

Bug: none
Change-Id: Ib009481cfd8858bee556d5d28610bc0c65a6859c
Reviewed-on: https://webrtc-review.googlesource.com/c/123101
Commit-Queue: Konrad Hofbauer <hofbauer@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26720}
This commit is contained in:
Konrad Hofbauer
2019-02-15 20:52:19 +01:00
committed by Commit Bot
parent 429b67db1f
commit ca3c8017e5
2 changed files with 4 additions and 2 deletions

View File

@ -667,7 +667,8 @@ void EventLogAnalyzer::CreateAudioLevelGraph(PacketDirection direction,
plot->SetTitle(GetDirectionAsString(direction) + " audio level");
}
// For each SSRC, plot the time between the consecutive playouts.
// For each SSRC, plot the sequence number difference between consecutive
// incoming packets.
void EventLogAnalyzer::CreateSequenceNumberGraph(Plot* plot) {
for (const auto& stream : parsed_log_.incoming_rtp_packets_by_ssrc()) {
// Filter on SSRC.
@ -697,7 +698,7 @@ void EventLogAnalyzer::CreateSequenceNumberGraph(Plot* plot) {
"Time (s)", kLeftMargin, kRightMargin);
plot->SetSuggestedYAxis(0, 1, "Difference since last packet", kBottomMargin,
kTopMargin);
plot->SetTitle("Sequence number");
plot->SetTitle("Incoming sequence number delta");
}
void EventLogAnalyzer::CreateIncomingPacketLossGraph(Plot* plot) {

View File

@ -555,4 +555,5 @@ void SetAllPlotFlags(bool setting) {
FLAG_plot_neteq_stats = setting;
FLAG_plot_ice_candidate_pair_config = setting;
FLAG_plot_ice_connectivity_check = setting;
FLAG_plot_pacer_delay = setting;
}