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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // returns true once until a new RR is received. | 96 // returns true once until a new RR is received. |
97 bool RtcpRrSequenceNumberTimeout(int64_t rtcp_interval_ms); | 97 bool RtcpRrSequenceNumberTimeout(int64_t rtcp_interval_ms); |
98 | 98 |
99 // Get TMMBR | 99 // Get TMMBR |
100 int32_t TMMBRReceived(uint32_t size, | 100 int32_t TMMBRReceived(uint32_t size, |
101 uint32_t accNumCandidates, | 101 uint32_t accNumCandidates, |
102 TMMBRSet* candidateSet) const; | 102 TMMBRSet* candidateSet) const; |
103 | 103 |
104 bool UpdateRTCPReceiveInformationTimers(); | 104 bool UpdateRTCPReceiveInformationTimers(); |
105 | 105 |
106 int32_t BoundingSet(bool &tmmbrOwner, TMMBRSet* boundingSetRec); | 106 int32_t BoundingSet(bool* tmmbrOwner, TMMBRSet* boundingSetRec); |
107 | 107 |
108 int32_t UpdateTMMBR(); | 108 int32_t UpdateTMMBR(); |
109 | 109 |
110 void RegisterRtcpStatisticsCallback(RtcpStatisticsCallback* callback); | 110 void RegisterRtcpStatisticsCallback(RtcpStatisticsCallback* callback); |
111 RtcpStatisticsCallback* GetRtcpStatisticsCallback(); | 111 RtcpStatisticsCallback* GetRtcpStatisticsCallback(); |
112 | 112 |
113 protected: | 113 protected: |
114 RTCPUtility::RTCPCnameInformation* CreateCnameInformation(uint32_t remoteSSRC); | 114 RTCPUtility::RTCPCnameInformation* CreateCnameInformation(uint32_t remoteSSRC); |
115 RTCPUtility::RTCPCnameInformation* GetCnameInformation( | 115 RTCPUtility::RTCPCnameInformation* GetCnameInformation( |
116 uint32_t remoteSSRC) const; | 116 uint32_t remoteSSRC) const; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; | 317 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; |
318 RtcpPacketTypeCounter packet_type_counter_; | 318 RtcpPacketTypeCounter packet_type_counter_; |
319 | 319 |
320 RTCPUtility::NackStats nack_stats_; | 320 RTCPUtility::NackStats nack_stats_; |
321 | 321 |
322 size_t num_skipped_packets_; | 322 size_t num_skipped_packets_; |
323 int64_t last_skipped_packets_warning_; | 323 int64_t last_skipped_packets_warning_; |
324 }; | 324 }; |
325 } // namespace webrtc | 325 } // namespace webrtc |
326 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 326 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
OLD | NEW |