Delete unused NetEq Rtcp stats.
Bug: webrtc:7135 Change-Id: Ib3ca9e02b051b8b41c2eac4e43a4f1f37999bf75 Reviewed-on: https://webrtc-review.googlesource.com/c/111640 Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25743}
This commit is contained in:
@ -387,20 +387,6 @@ NetEqOperationsAndState NetEqImpl::GetOperationsAndState() const {
|
||||
return result;
|
||||
}
|
||||
|
||||
void NetEqImpl::GetRtcpStatistics(RtcpStatistics* stats) {
|
||||
rtc::CritScope lock(&crit_sect_);
|
||||
if (stats) {
|
||||
rtcp_.GetStatistics(false, stats);
|
||||
}
|
||||
}
|
||||
|
||||
void NetEqImpl::GetRtcpStatisticsNoReset(RtcpStatistics* stats) {
|
||||
rtc::CritScope lock(&crit_sect_);
|
||||
if (stats) {
|
||||
rtcp_.GetStatistics(true, stats);
|
||||
}
|
||||
}
|
||||
|
||||
void NetEqImpl::EnableVad() {
|
||||
rtc::CritScope lock(&crit_sect_);
|
||||
assert(vad_.get());
|
||||
@ -576,8 +562,6 @@ int NetEqImpl::InsertPacketInternal(const RTPHeader& rtp_header,
|
||||
// Note: |first_packet_| will be cleared further down in this method, once
|
||||
// the packet has been successfully inserted into the packet buffer.
|
||||
|
||||
rtcp_.Init(rtp_header.sequenceNumber);
|
||||
|
||||
// Flush the packet buffer and DTMF buffer.
|
||||
packet_buffer_->Flush();
|
||||
dtmf_buffer_->Flush();
|
||||
@ -592,9 +576,6 @@ int NetEqImpl::InsertPacketInternal(const RTPHeader& rtp_header,
|
||||
timestamp_ = main_timestamp;
|
||||
}
|
||||
|
||||
// Update RTCP statistics, only for regular packets.
|
||||
rtcp_.Update(rtp_header, receive_timestamp);
|
||||
|
||||
if (nack_enabled_) {
|
||||
RTC_DCHECK(nack_);
|
||||
if (update_sample_rate_and_channels) {
|
||||
|
Reference in New Issue
Block a user