Add frames_in_flight metric to catch not delivered frames
Add frames_in_flight metric into PC framework to catch frames that were captured but weren't delivered to the other side. Right now they won't be reported as dropped, because it's unclear were they dropped or will they be delivered. So the new metric is introduced. The lower value is better for it. Bug: webrtc:10138 Change-Id: Ide26b362a6b862bd961793cb53293becd92cfaa8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148599 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28834}
This commit is contained in:
parent
110a4de4e2
commit
4d207a3460
@ -627,6 +627,11 @@ void DefaultVideoQualityAnalyzer::ReportResults(
|
||||
test::PrintResult("dropped_frames", "", test_case_name,
|
||||
frame_counters.dropped, "count",
|
||||
/*important=*/false);
|
||||
test::PrintResult("frames_in_flight", "", test_case_name,
|
||||
frame_counters.captured - frame_counters.rendered -
|
||||
frame_counters.dropped,
|
||||
"count",
|
||||
/*important=*/false);
|
||||
ReportResult("max_skipped", test_case_name, stats.skipped_between_rendered,
|
||||
"count");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user