| Index: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h
|
| index 68b88ffef88cea68bf9d656911e4b317cb692f40..491b531af402008582999b90349e83b1829ac0ca 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h
|
| @@ -16,6 +16,7 @@
|
|
|
| #include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h"
|
| +#include "webrtc/modules/rtp_rtcp/source/packet_loss_stats.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtcp_sender.h"
|
| #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h"
|
| @@ -173,6 +174,10 @@ class ModuleRtpRtcpImpl : public RtpRtcp {
|
| StreamDataCounters* rtp_counters,
|
| StreamDataCounters* rtx_counters) const override;
|
|
|
| + void GetRtpPacketLossStats(
|
| + struct RtpPacketLossStats* incoming_loss,
|
| + struct RtpPacketLossStats* outgoing_loss) const override;
|
| +
|
| // Get received RTCP report, sender info.
|
| int32_t RemoteRTCPStat(RTCPSenderInfo* sender_info) override;
|
|
|
| @@ -377,6 +382,9 @@ class ModuleRtpRtcpImpl : public RtpRtcp {
|
|
|
| RtcpRttStats* rtt_stats_;
|
|
|
| + PacketLossStats send_loss_stats_;
|
| + PacketLossStats receive_loss_stats_;
|
| +
|
| // The processed RTT from RtcpRttStats.
|
| rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_;
|
| int64_t rtt_ms_;
|
|
|