OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <set> | 15 #include <set> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/criticalsection.h" | 18 #include "webrtc/base/criticalsection.h" |
19 #include "webrtc/base/thread_annotations.h" | 19 #include "webrtc/base/thread_annotations.h" |
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
21 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h" | 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h" |
22 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" |
23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
24 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h" | |
25 #include "webrtc/typedefs.h" | 24 #include "webrtc/typedefs.h" |
26 | 25 |
27 namespace webrtc { | 26 namespace webrtc { |
28 class ModuleRtpRtcpImpl; | 27 class ModuleRtpRtcpImpl; |
29 | 28 |
30 class RTCPReceiver : public TMMBRHelp | 29 class RTCPReceiver |
31 { | 30 { |
32 public: | 31 public: |
33 RTCPReceiver(Clock* clock, | 32 RTCPReceiver(Clock* clock, |
34 bool receiver_only, | 33 bool receiver_only, |
35 RtcpPacketTypeCounterObserver* packet_type_counter_observer, | 34 RtcpPacketTypeCounterObserver* packet_type_counter_observer, |
36 RtcpBandwidthObserver* rtcp_bandwidth_observer, | 35 RtcpBandwidthObserver* rtcp_bandwidth_observer, |
37 RtcpIntraFrameObserver* rtcp_intra_frame_observer, | 36 RtcpIntraFrameObserver* rtcp_intra_frame_observer, |
38 TransportFeedbackObserver* transport_feedback_observer, | 37 TransportFeedbackObserver* transport_feedback_observer, |
39 ModuleRtpRtcpImpl* owner); | 38 ModuleRtpRtcpImpl* owner); |
40 virtual ~RTCPReceiver(); | 39 virtual ~RTCPReceiver(); |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; | 310 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; |
312 RtcpPacketTypeCounter packet_type_counter_; | 311 RtcpPacketTypeCounter packet_type_counter_; |
313 | 312 |
314 RTCPUtility::NackStats nack_stats_; | 313 RTCPUtility::NackStats nack_stats_; |
315 | 314 |
316 size_t num_skipped_packets_; | 315 size_t num_skipped_packets_; |
317 int64_t last_skipped_packets_warning_; | 316 int64_t last_skipped_packets_warning_; |
318 }; | 317 }; |
319 } // namespace webrtc | 318 } // namespace webrtc |
320 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 319 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
OLD | NEW |