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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // intervals, but only triggers true once. | 85 // intervals, but only triggers true once. |
86 bool RtcpRrTimeout(int64_t rtcp_interval_ms); | 86 bool RtcpRrTimeout(int64_t rtcp_interval_ms); |
87 | 87 |
88 // Returns true if we haven't received an RTCP RR telling the receive side | 88 // Returns true if we haven't received an RTCP RR telling the receive side |
89 // has not received RTP packets for too long, i.e. extended highest sequence | 89 // has not received RTP packets for too long, i.e. extended highest sequence |
90 // number hasn't increased for several RTCP intervals. The function only | 90 // number hasn't increased for several RTCP intervals. The function only |
91 // returns true once until a new RR is received. | 91 // returns true once until a new RR is received. |
92 bool RtcpRrSequenceNumberTimeout(int64_t rtcp_interval_ms); | 92 bool RtcpRrSequenceNumberTimeout(int64_t rtcp_interval_ms); |
93 | 93 |
94 // Get TMMBR | 94 // Get TMMBR |
95 int32_t TMMBRReceived(uint32_t size, | 95 std::vector<rtcp::TmmbItem> TMMBRReceived() const; |
96 uint32_t accNumCandidates, | |
97 TMMBRSet* candidateSet) const; | |
98 | 96 |
99 bool UpdateRTCPReceiveInformationTimers(); | 97 bool UpdateRTCPReceiveInformationTimers(); |
100 | 98 |
101 int32_t BoundingSet(bool* tmmbrOwner, TMMBRSet* boundingSetRec); | 99 int32_t BoundingSet(bool* tmmbrOwner, TMMBRSet* boundingSetRec); |
102 | 100 |
103 int32_t UpdateTMMBR(); | 101 int32_t UpdateTMMBR(); |
104 | 102 |
105 void RegisterRtcpStatisticsCallback(RtcpStatisticsCallback* callback); | 103 void RegisterRtcpStatisticsCallback(RtcpStatisticsCallback* callback); |
106 RtcpStatisticsCallback* GetRtcpStatisticsCallback(); | 104 RtcpStatisticsCallback* GetRtcpStatisticsCallback(); |
107 | 105 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; | 308 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; |
311 RtcpPacketTypeCounter packet_type_counter_; | 309 RtcpPacketTypeCounter packet_type_counter_; |
312 | 310 |
313 RTCPUtility::NackStats nack_stats_; | 311 RTCPUtility::NackStats nack_stats_; |
314 | 312 |
315 size_t num_skipped_packets_; | 313 size_t num_skipped_packets_; |
316 int64_t last_skipped_packets_warning_; | 314 int64_t last_skipped_packets_warning_; |
317 }; | 315 }; |
318 } // namespace webrtc | 316 } // namespace webrtc |
319 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 317 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
OLD | NEW |