| Index: webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc
|
| index a5c0e2828282fad6bef0d695980542dec5c00c43..318fa95da7d9b87da58b4d48e30805440162f946 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc
|
| @@ -13,6 +13,7 @@
|
| #include <assert.h> // assert
|
| #include <string.h> // memset
|
|
|
| +#include "webrtc/modules/rtp_rtcp/source/report_block_information.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
|
|
|
| @@ -92,28 +93,10 @@ RTCPPacketInformation::AddNACKPacket(const uint16_t packetID)
|
| nackSequenceNumbers.push_back(packetID);
|
| }
|
|
|
| -void
|
| -RTCPPacketInformation::AddReportInfo(
|
| - const RTCPReportBlockInformation& report_block_info)
|
| -{
|
| - this->rtt = report_block_info.RTT;
|
| - report_blocks.push_back(report_block_info.remoteReceiveBlock);
|
| -}
|
| -
|
| -RTCPReportBlockInformation::RTCPReportBlockInformation():
|
| - remoteReceiveBlock(),
|
| - remoteMaxJitter(0),
|
| - RTT(0),
|
| - minRTT(0),
|
| - maxRTT(0),
|
| - avgRTT(0),
|
| - numAverageCalcs(0)
|
| -{
|
| - memset(&remoteReceiveBlock,0,sizeof(remoteReceiveBlock));
|
| -}
|
| -
|
| -RTCPReportBlockInformation::~RTCPReportBlockInformation()
|
| -{
|
| +void RTCPPacketInformation::AddReportInfo(
|
| + const rtcp::ReportBlockInformation& report_block_info) {
|
| + this->rtt = report_block_info.LastRttMs();
|
| + report_blocks.push_back(report_block_info.LastBlock());
|
| }
|
|
|
| RTCPReceiveInformation::RTCPReceiveInformation()
|
|
|