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:
@ -11,8 +11,6 @@
|
||||
#ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
|
||||
#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "webrtc/base/constructormagic.h"
|
||||
#include "webrtc/base/scoped_ptr.h"
|
||||
#include "webrtc/base/thread_annotations.h"
|
||||
@ -154,11 +152,6 @@ class NetEqImpl : public webrtc::NetEq {
|
||||
// after the call.
|
||||
int NetworkStatistics(NetEqNetworkStatistics* stats) override;
|
||||
|
||||
// Writes the last packet waiting times (in ms) to |waiting_times|. The number
|
||||
// of values written is no more than 100, but may be smaller if the interface
|
||||
// is polled again before 100 packets has arrived.
|
||||
void WaitingTimes(std::vector<int>* waiting_times) override;
|
||||
|
||||
// Writes the current RTCP statistics to |stats|. The statistics are reset
|
||||
// and a new report period is started with the call.
|
||||
void GetRtcpStatistics(RtcpStatistics* stats) override;
|
||||
|
||||
Reference in New Issue
Block a user