Delete ReportBlock::cumulative_lost_signed accessor
cumulative lost is always signed now. Bug: webrtc:9598 Change-Id: I7cf9f87c01a60fafc3fa6a9bdb84950343697193 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/301940 Auto-Submit: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39905}
This commit is contained in:
parent
527701a8f2
commit
9e734a660b
@ -49,9 +49,6 @@ class ReportBlock {
|
||||
|
||||
uint32_t source_ssrc() const { return source_ssrc_; }
|
||||
uint8_t fraction_lost() const { return fraction_lost_; }
|
||||
[[deprecated]] int32_t cumulative_lost_signed() const {
|
||||
return cumulative_lost_;
|
||||
}
|
||||
int32_t cumulative_lost() const { return cumulative_lost_; }
|
||||
uint32_t extended_high_seq_num() const { return extended_high_seq_num_; }
|
||||
uint32_t jitter() const { return jitter_; }
|
||||
|
||||
@ -399,7 +399,7 @@ int main(int argc, char* argv[]) {
|
||||
"Fraction lost (outgoing RTCP)", "Loss rate (percent)", plot);
|
||||
});
|
||||
auto GetCumulativeLost = [](const webrtc::rtcp::ReportBlock& block) -> float {
|
||||
return block.cumulative_lost_signed();
|
||||
return block.cumulative_lost();
|
||||
};
|
||||
plots.RegisterPlot("incoming_rtcp_cumulative_lost", [&](Plot* plot) {
|
||||
analyzer.CreateSenderAndReceiverReportPlot(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user