NetEq/ACM: Refactor how packet waiting times are calculated
With this change, the aggregates for packet waiting times are calculated in NetEq's StatisticsCalculator insead of in AcmReceiver. This simplifies things somewhat, and avoids having to copy the raw data on polling. R=ivoc@webrtc.org, minyue@webrtc.org Review URL: https://codereview.webrtc.org/1296633002 . Cr-Commit-Position: refs/heads/master@{#9778}
This commit is contained in:
@ -318,11 +318,6 @@ int NetEqImpl::NetworkStatistics(NetEqNetworkStatistics* stats) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void NetEqImpl::WaitingTimes(std::vector<int>* waiting_times) {
|
||||
CriticalSectionScoped lock(crit_sect_.get());
|
||||
stats_.WaitingTimes(waiting_times);
|
||||
}
|
||||
|
||||
void NetEqImpl::GetRtcpStatistics(RtcpStatistics* stats) {
|
||||
CriticalSectionScoped lock(crit_sect_.get());
|
||||
if (stats) {
|
||||
|
||||
Reference in New Issue
Block a user