Fix bug that causes the visualization of RTCP fraction lost to be cropped.
The bug comes from computing the axis limits before adding the data. Bug: webrtc:8417 Change-Id: I1e3860b4f655f40cd261d09b8357d563dbe51f1d Reviewed-on: https://webrtc-review.googlesource.com/12922 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20355}
This commit is contained in:
parent
8818237538
commit
19f5be3e7b
@ -898,11 +898,11 @@ void EventLogAnalyzer::CreateFractionLossGraph(Plot* plot) {
|
||||
time_series.points.emplace_back(x, y);
|
||||
}
|
||||
|
||||
plot->AppendTimeSeries(std::move(time_series));
|
||||
plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
|
||||
plot->SetSuggestedYAxis(0, 10, "Percent lost packets", kBottomMargin,
|
||||
kTopMargin);
|
||||
plot->SetTitle("Reported packet loss");
|
||||
plot->AppendTimeSeries(std::move(time_series));
|
||||
}
|
||||
|
||||
// Plot the total bandwidth used by all RTP streams.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user