blob: 072eb08826c771a75e38a688795a0842200cdaaa [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:25 +00001/*
pwestin@webrtc.orgf6bb77a2012-01-24 17:16:59 +00002 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
niklase@google.com470e71d2011-07-07 08:21:25 +00003 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_
12#define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_
13
pwestin@webrtc.org26f8d9c2012-01-19 15:53:09 +000014#include <map>
stefan@webrtc.org28a331e2013-09-17 07:49:56 +000015#include <set>
danilchapb8b6fbb2015-12-10 05:05:27 -080016#include <vector>
perkj@webrtc.orgce5990c2012-01-11 13:00:08 +000017
danilchap7c9426c2016-04-14 03:05:31 -070018#include "webrtc/base/criticalsection.h"
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +000019#include "webrtc/base/thread_annotations.h"
Henrik Kjellanderff761fb2015-11-04 08:31:52 +010020#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
pbos@webrtc.orga048d7c2013-05-29 14:27:38 +000021#include "webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h"
22#include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h"
23#include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
pbos@webrtc.orga048d7c2013-05-29 14:27:38 +000024#include "webrtc/typedefs.h"
niklase@google.com470e71d2011-07-07 08:21:25 +000025
26namespace webrtc {
pwestin@webrtc.org741da942011-09-20 13:52:04 +000027class ModuleRtpRtcpImpl;
28
danilchapda161d72016-08-19 07:29:46 -070029class RTCPReceiver {
30 public:
31 RTCPReceiver(Clock* clock,
32 bool receiver_only,
33 RtcpPacketTypeCounterObserver* packet_type_counter_observer,
34 RtcpBandwidthObserver* rtcp_bandwidth_observer,
35 RtcpIntraFrameObserver* rtcp_intra_frame_observer,
36 TransportFeedbackObserver* transport_feedback_observer,
37 ModuleRtpRtcpImpl* owner);
38 virtual ~RTCPReceiver();
niklase@google.com470e71d2011-07-07 08:21:25 +000039
danilchapda161d72016-08-19 07:29:46 -070040 int64_t LastReceived();
41 int64_t LastReceivedReceiverReport() const;
niklase@google.com470e71d2011-07-07 08:21:25 +000042
danilchapda161d72016-08-19 07:29:46 -070043 void SetSsrcs(uint32_t main_ssrc, const std::set<uint32_t>& registered_ssrcs);
44 void SetRemoteSSRC(uint32_t ssrc);
45 uint32_t RemoteSSRC() const;
niklase@google.com470e71d2011-07-07 08:21:25 +000046
danilchapda161d72016-08-19 07:29:46 -070047 int32_t IncomingRTCPPacket(
48 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation,
49 RTCPUtility::RTCPParserV2* rtcpParser);
niklase@google.com470e71d2011-07-07 08:21:25 +000050
danilchapda161d72016-08-19 07:29:46 -070051 void TriggerCallbacksFromRTCPPacket(
52 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation);
niklase@google.com470e71d2011-07-07 08:21:25 +000053
danilchapda161d72016-08-19 07:29:46 -070054 // get received cname
55 int32_t CNAME(uint32_t remoteSSRC, char cName[RTCP_CNAME_SIZE]) const;
niklase@google.com470e71d2011-07-07 08:21:25 +000056
danilchapda161d72016-08-19 07:29:46 -070057 // get received NTP
58 bool NTP(uint32_t* ReceivedNTPsecs,
59 uint32_t* ReceivedNTPfrac,
60 uint32_t* RTCPArrivalTimeSecs,
61 uint32_t* RTCPArrivalTimeFrac,
62 uint32_t* rtcp_timestamp) const;
niklase@google.com470e71d2011-07-07 08:21:25 +000063
danilchapda161d72016-08-19 07:29:46 -070064 bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const;
asapersson@webrtc.org8469f7b2013-10-02 13:15:34 +000065
danilchapda161d72016-08-19 07:29:46 -070066 // get rtt
67 int32_t RTT(uint32_t remoteSSRC,
68 int64_t* RTT,
69 int64_t* avgRTT,
70 int64_t* minRTT,
71 int64_t* maxRTT) const;
niklase@google.com470e71d2011-07-07 08:21:25 +000072
danilchapda161d72016-08-19 07:29:46 -070073 int32_t SenderInfoReceived(RTCPSenderInfo* senderInfo) const;
niklase@google.com470e71d2011-07-07 08:21:25 +000074
danilchapda161d72016-08-19 07:29:46 -070075 void SetRtcpXrRrtrStatus(bool enable);
76 bool GetAndResetXrRrRtt(int64_t* rtt_ms);
asapersson@webrtc.org7d6bd222013-10-31 12:14:34 +000077
danilchapda161d72016-08-19 07:29:46 -070078 // get statistics
79 int32_t StatisticsReceived(std::vector<RTCPReportBlock>* receiveBlocks) const;
perkj@webrtc.orgce5990c2012-01-11 13:00:08 +000080
danilchapda161d72016-08-19 07:29:46 -070081 // Returns true if we haven't received an RTCP RR for several RTCP
82 // intervals, but only triggers true once.
83 bool RtcpRrTimeout(int64_t rtcp_interval_ms);
mflodman@webrtc.org2f225ca2013-01-09 13:54:43 +000084
danilchapda161d72016-08-19 07:29:46 -070085 // Returns true if we haven't received an RTCP RR telling the receive side
86 // has not received RTP packets for too long, i.e. extended highest sequence
87 // number hasn't increased for several RTCP intervals. The function only
88 // returns true once until a new RR is received.
89 bool RtcpRrSequenceNumberTimeout(int64_t rtcp_interval_ms);
mflodman@webrtc.org2f225ca2013-01-09 13:54:43 +000090
danilchapda161d72016-08-19 07:29:46 -070091 // Get TMMBR
92 std::vector<rtcp::TmmbItem> TMMBRReceived() const;
niklase@google.com470e71d2011-07-07 08:21:25 +000093
danilchapda161d72016-08-19 07:29:46 -070094 bool UpdateRTCPReceiveInformationTimers();
niklase@google.com470e71d2011-07-07 08:21:25 +000095
danilchapda161d72016-08-19 07:29:46 -070096 std::vector<rtcp::TmmbItem> BoundingSet(bool* tmmbr_owner);
niklase@google.com470e71d2011-07-07 08:21:25 +000097
danilchapda161d72016-08-19 07:29:46 -070098 int32_t UpdateTMMBR();
niklase@google.com470e71d2011-07-07 08:21:25 +000099
danilchapda161d72016-08-19 07:29:46 -0700100 void RegisterRtcpStatisticsCallback(RtcpStatisticsCallback* callback);
101 RtcpStatisticsCallback* GetRtcpStatisticsCallback();
sprang@webrtc.orga6ad6e52013-12-05 09:48:44 +0000102
danilchapda161d72016-08-19 07:29:46 -0700103 protected:
104 RTCPUtility::RTCPCnameInformation* CreateCnameInformation(
105 uint32_t remoteSSRC);
106 RTCPUtility::RTCPCnameInformation* GetCnameInformation(
107 uint32_t remoteSSRC) const;
niklase@google.com470e71d2011-07-07 08:21:25 +0000108
danilchapda161d72016-08-19 07:29:46 -0700109 RTCPHelp::RTCPReceiveInformation* CreateReceiveInformation(
110 uint32_t remoteSSRC);
111 RTCPHelp::RTCPReceiveInformation* GetReceiveInformation(uint32_t remoteSSRC);
niklase@google.com470e71d2011-07-07 08:21:25 +0000112
danilchapda161d72016-08-19 07:29:46 -0700113 void HandleSenderReceiverReport(
114 RTCPUtility::RTCPParserV2& rtcpParser,
115 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
116 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000117
danilchapda161d72016-08-19 07:29:46 -0700118 void HandleReportBlock(const RTCPUtility::RTCPPacket& rtcpPacket,
niklase@google.com470e71d2011-07-07 08:21:25 +0000119 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation,
danilchapda161d72016-08-19 07:29:46 -0700120 uint32_t remoteSSRC)
121 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000122
danilchapda161d72016-08-19 07:29:46 -0700123 void HandleSDES(RTCPUtility::RTCPParserV2& rtcpParser,
124 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
125 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000126
danilchapda161d72016-08-19 07:29:46 -0700127 void HandleSDESChunk(RTCPUtility::RTCPParserV2& rtcpParser)
128 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
129
130 void HandleXrHeader(RTCPUtility::RTCPParserV2& parser,
sprang7dc39f32015-10-13 09:17:48 -0700131 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
danilchapda161d72016-08-19 07:29:46 -0700132 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000133
danilchapda161d72016-08-19 07:29:46 -0700134 void HandleXrReceiveReferenceTime(
135 RTCPUtility::RTCPParserV2& parser,
136 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
137 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000138
danilchapda161d72016-08-19 07:29:46 -0700139 void HandleXrDlrrReportBlock(
140 RTCPUtility::RTCPParserV2& parser,
141 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
142 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
143
144 void HandleXrDlrrReportBlockItem(
145 const RTCPUtility::RTCPPacket& packet,
146 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
147 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
148
149 void HandleXRVOIPMetric(
150 RTCPUtility::RTCPParserV2& rtcpParser,
151 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
152 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
153
154 void HandleNACK(RTCPUtility::RTCPParserV2& rtcpParser,
155 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
156 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
157
158 void HandleNACKItem(const RTCPUtility::RTCPPacket& rtcpPacket,
159 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
160 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
161
162 void HandleBYE(RTCPUtility::RTCPParserV2& rtcpParser)
163 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
164
165 void HandlePLI(RTCPUtility::RTCPParserV2& rtcpParser,
166 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
167 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
168
169 void HandleSLI(RTCPUtility::RTCPParserV2& rtcpParser,
170 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
171 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
172
173 void HandleSLIItem(const RTCPUtility::RTCPPacket& rtcpPacket,
174 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
175 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
176
177 void HandleRPSI(RTCPUtility::RTCPParserV2& rtcpParser,
178 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
179 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
180
181 void HandlePsfbApp(RTCPUtility::RTCPParserV2& rtcpParser,
182 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
183 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
184
185 void HandleREMBItem(RTCPUtility::RTCPParserV2& rtcpParser,
186 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
187 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
188
189 void HandleIJ(RTCPUtility::RTCPParserV2& rtcpParser,
190 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
191 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
192
193 void HandleIJItem(const RTCPUtility::RTCPPacket& rtcpPacket,
194 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
195 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
196
197 void HandleTMMBR(RTCPUtility::RTCPParserV2& rtcpParser,
sprang7dc39f32015-10-13 09:17:48 -0700198 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
danilchapda161d72016-08-19 07:29:46 -0700199 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000200
danilchapda161d72016-08-19 07:29:46 -0700201 void HandleTMMBRItem(RTCPHelp::RTCPReceiveInformation& receiveInfo,
niklase@google.com470e71d2011-07-07 08:21:25 +0000202 const RTCPUtility::RTCPPacket& rtcpPacket,
danilchapda161d72016-08-19 07:29:46 -0700203 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation,
204 uint32_t senderSSRC)
205 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000206
danilchapda161d72016-08-19 07:29:46 -0700207 void HandleTMMBN(RTCPUtility::RTCPParserV2& rtcpParser,
sprang7dc39f32015-10-13 09:17:48 -0700208 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
danilchapda161d72016-08-19 07:29:46 -0700209 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000210
danilchapda161d72016-08-19 07:29:46 -0700211 void HandleSR_REQ(RTCPUtility::RTCPParserV2& rtcpParser,
212 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
213 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000214
danilchapda161d72016-08-19 07:29:46 -0700215 void HandleTMMBNItem(RTCPHelp::RTCPReceiveInformation& receiveInfo,
216 const RTCPUtility::RTCPPacket& rtcpPacket)
217 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
218
219 void HandleFIR(RTCPUtility::RTCPParserV2& rtcpParser,
220 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
221 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
222
223 void HandleFIRItem(RTCPHelp::RTCPReceiveInformation* receiveInfo,
224 const RTCPUtility::RTCPPacket& rtcpPacket,
225 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
226 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
227
228 void HandleAPP(RTCPUtility::RTCPParserV2& rtcpParser,
229 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
230 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
231
232 void HandleAPPItem(RTCPUtility::RTCPParserV2& rtcpParser,
233 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
234 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
235
236 void HandleTransportFeedback(
237 RTCPUtility::RTCPParserV2* rtcp_parser,
238 RTCPHelp::RTCPPacketInformation* rtcp_packet_information)
239 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
Erik Språng6b8d3552015-09-24 15:06:57 +0200240
pwestin@webrtc.org26f8d9c2012-01-19 15:53:09 +0000241 private:
danilchapda161d72016-08-19 07:29:46 -0700242 typedef std::map<uint32_t, RTCPHelp::RTCPReceiveInformation*> ReceivedInfoMap;
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +0000243 // RTCP report block information mapped by remote SSRC.
244 typedef std::map<uint32_t, RTCPHelp::RTCPReportBlockInformation*>
245 ReportBlockInfoMap;
246 // RTCP report block information map mapped by source SSRC.
247 typedef std::map<uint32_t, ReportBlockInfoMap> ReportBlockMap;
248
249 RTCPHelp::RTCPReportBlockInformation* CreateOrGetReportBlockInformation(
danilchapda161d72016-08-19 07:29:46 -0700250 uint32_t remote_ssrc,
251 uint32_t source_ssrc)
252 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +0000253 RTCPHelp::RTCPReportBlockInformation* GetReportBlockInformation(
danilchapda161d72016-08-19 07:29:46 -0700254 uint32_t remote_ssrc,
255 uint32_t source_ssrc) const
256 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +0000257
Peter Boströmfe7a80c2015-04-23 17:53:17 +0200258 Clock* const _clock;
259 const bool receiver_only_;
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +0000260 int64_t _lastReceived;
261 ModuleRtpRtcpImpl& _rtpRtcp;
niklase@google.com470e71d2011-07-07 08:21:25 +0000262
danilchap7c9426c2016-04-14 03:05:31 -0700263 rtc::CriticalSection _criticalSectionFeedbacks;
mflodman@webrtc.org96abda02015-02-25 13:50:10 +0000264 RtcpBandwidthObserver* const _cbRtcpBandwidthObserver;
265 RtcpIntraFrameObserver* const _cbRtcpIntraFrameObserver;
Erik Språng6b8d3552015-09-24 15:06:57 +0200266 TransportFeedbackObserver* const _cbTransportFeedbackObserver;
niklase@google.com470e71d2011-07-07 08:21:25 +0000267
danilchap7c9426c2016-04-14 03:05:31 -0700268 rtc::CriticalSection _criticalSectionRTCPReceiver;
sprang7dc39f32015-10-13 09:17:48 -0700269 uint32_t main_ssrc_ GUARDED_BY(_criticalSectionRTCPReceiver);
270 uint32_t _remoteSSRC GUARDED_BY(_criticalSectionRTCPReceiver);
271 std::set<uint32_t> registered_ssrcs_ GUARDED_BY(_criticalSectionRTCPReceiver);
niklase@google.com470e71d2011-07-07 08:21:25 +0000272
pwestin@webrtc.org26f8d9c2012-01-19 15:53:09 +0000273 // Received send report
274 RTCPSenderInfo _remoteSenderInfo;
275 // when did we receive the last send report
pbos@webrtc.org2f446732013-04-08 11:08:41 +0000276 uint32_t _lastReceivedSRNTPsecs;
277 uint32_t _lastReceivedSRNTPfrac;
niklase@google.com470e71d2011-07-07 08:21:25 +0000278
asapersson@webrtc.org8469f7b2013-10-02 13:15:34 +0000279 // Received XR receive time report.
280 RtcpReceiveTimeInfo _remoteXRReceiveTimeInfo;
281 // Time when the report was received.
282 uint32_t _lastReceivedXRNTPsecs;
283 uint32_t _lastReceivedXRNTPfrac;
asapersson@webrtc.org7d6bd222013-10-31 12:14:34 +0000284 // Estimated rtt, zero when there is no valid estimate.
Danil Chapovalovc1e55c72016-03-09 15:14:35 +0100285 bool xr_rrtr_status_ GUARDED_BY(_criticalSectionRTCPReceiver);
pkasting@chromium.org16825b12015-01-12 21:51:21 +0000286 int64_t xr_rr_rtt_ms_;
asapersson@webrtc.org8469f7b2013-10-02 13:15:34 +0000287
pwestin@webrtc.org26f8d9c2012-01-19 15:53:09 +0000288 // Received report blocks.
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +0000289 ReportBlockMap _receivedReportBlockMap
290 GUARDED_BY(_criticalSectionRTCPReceiver);
stefan@webrtc.orgb5865072013-02-01 14:33:42 +0000291 ReceivedInfoMap _receivedInfoMap;
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +0000292 std::map<uint32_t, RTCPUtility::RTCPCnameInformation*> _receivedCnameMap;
niklase@google.com470e71d2011-07-07 08:21:25 +0000293
mflodman@webrtc.org2f225ca2013-01-09 13:54:43 +0000294 // The last time we received an RTCP RR.
295 int64_t _lastReceivedRrMs;
296
asapersson@webrtc.orgcb791412014-12-18 14:30:32 +0000297 // The time we last received an RTCP RR telling we have successfully
mflodman@webrtc.org2f225ca2013-01-09 13:54:43 +0000298 // delivered RTP packet to the remote side.
299 int64_t _lastIncreasedSequenceNumberMs;
stefan@webrtc.org8ca8a712013-04-23 16:48:32 +0000300
pbos@webrtc.orga28a91d2015-02-17 14:45:08 +0000301 RtcpStatisticsCallback* stats_callback_ GUARDED_BY(_criticalSectionFeedbacks);
asapersson@webrtc.org8098e072014-02-19 11:59:02 +0000302
pbos@webrtc.org1d0fa5d2015-02-19 12:47:00 +0000303 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_;
asapersson@webrtc.org8098e072014-02-19 11:59:02 +0000304 RtcpPacketTypeCounter packet_type_counter_;
asapersson@webrtc.org2dd31342014-10-29 12:42:30 +0000305
306 RTCPUtility::NackStats nack_stats_;
Erik Språng6b8d3552015-09-24 15:06:57 +0200307
308 size_t num_skipped_packets_;
309 int64_t last_skipped_packets_warning_;
niklase@google.com470e71d2011-07-07 08:21:25 +0000310};
pbos@webrtc.orgd900e8b2013-07-03 15:12:26 +0000311} // namespace webrtc
danilchapda161d72016-08-19 07:29:46 -0700312#endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_