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 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 RTCPReceiver(Clock* clock, | 52 RTCPReceiver(Clock* clock, |
53 bool receiver_only, | 53 bool receiver_only, |
54 RtcpPacketTypeCounterObserver* packet_type_counter_observer, | 54 RtcpPacketTypeCounterObserver* packet_type_counter_observer, |
55 RtcpBandwidthObserver* rtcp_bandwidth_observer, | 55 RtcpBandwidthObserver* rtcp_bandwidth_observer, |
56 RtcpIntraFrameObserver* rtcp_intra_frame_observer, | 56 RtcpIntraFrameObserver* rtcp_intra_frame_observer, |
57 TransportFeedbackObserver* transport_feedback_observer, | 57 TransportFeedbackObserver* transport_feedback_observer, |
58 VideoBitrateAllocationObserver* bitrate_allocation_observer, | 58 VideoBitrateAllocationObserver* bitrate_allocation_observer, |
59 ModuleRtpRtcp* owner); | 59 ModuleRtpRtcp* owner); |
60 virtual ~RTCPReceiver(); | 60 virtual ~RTCPReceiver(); |
61 | 61 |
62 bool IncomingPacket(const uint8_t* packet, size_t packet_size); | 62 void IncomingPacket(const uint8_t* packet, size_t packet_size); |
63 | 63 |
64 int64_t LastReceivedReceiverReport() const; | 64 int64_t LastReceivedReceiverReport() const; |
65 | 65 |
66 void SetSsrcs(uint32_t main_ssrc, const std::set<uint32_t>& registered_ssrcs); | 66 void SetSsrcs(uint32_t main_ssrc, const std::set<uint32_t>& registered_ssrcs); |
67 void SetRemoteSSRC(uint32_t ssrc); | 67 void SetRemoteSSRC(uint32_t ssrc); |
68 uint32_t RemoteSSRC() const; | 68 uint32_t RemoteSSRC() const; |
69 | 69 |
70 // Get received cname. | 70 // Get received cname. |
71 int32_t CNAME(uint32_t remote_ssrc, char cname[RTCP_CNAME_SIZE]) const; | 71 int32_t CNAME(uint32_t remote_ssrc, char cname[RTCP_CNAME_SIZE]) const; |
72 | 72 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; | 257 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; |
258 RtcpPacketTypeCounter packet_type_counter_; | 258 RtcpPacketTypeCounter packet_type_counter_; |
259 | 259 |
260 RtcpNackStats nack_stats_; | 260 RtcpNackStats nack_stats_; |
261 | 261 |
262 size_t num_skipped_packets_; | 262 size_t num_skipped_packets_; |
263 int64_t last_skipped_packets_warning_ms_; | 263 int64_t last_skipped_packets_warning_ms_; |
264 }; | 264 }; |
265 } // namespace webrtc | 265 } // namespace webrtc |
266 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 266 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
OLD | NEW |