[rtp_rtcp] cleanup in RTCPSender class internals.
PrepareReportBlock and AddReportBlock private functions merged: PrepareReportBlock moved report block from statistic to temporary structure AddReportBlock copied that temporary structure into temporary map right after. Thanks to rtcp packet classes that temporary structure is now unneccesary. BUG=webrtc:5260 R=åsapersson Review URL: https://codereview.webrtc.org/1538833002 Cr-Commit-Position: refs/heads/master@{#11112}
This commit is contained in:
@ -259,6 +259,7 @@ RtcpStatistics StreamStatisticianImpl::CalculateRtcpStatistics() {
|
||||
stats.fraction_lost = local_fraction_lost;
|
||||
|
||||
// We need a counter for cumulative loss too.
|
||||
// TODO(danilchap): Ensure cumulative loss is below maximum value of 2^24.
|
||||
cumulative_loss_ += missing;
|
||||
stats.cumulative_lost = cumulative_loss_;
|
||||
stats.extended_max_sequence_number =
|
||||
|
||||
Reference in New Issue
Block a user