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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 int64_t* min_rtt, | 155 int64_t* min_rtt, |
156 int64_t* max_rtt) const override; | 156 int64_t* max_rtt) const override; |
157 | 157 |
158 // Force a send of an RTCP packet. | 158 // Force a send of an RTCP packet. |
159 // Normal SR and RR are triggered via the process function. | 159 // Normal SR and RR are triggered via the process function. |
160 int32_t SendRTCP(RTCPPacketType rtcpPacketType) override; | 160 int32_t SendRTCP(RTCPPacketType rtcpPacketType) override; |
161 | 161 |
162 int32_t SendCompoundRTCP( | 162 int32_t SendCompoundRTCP( |
163 const std::set<RTCPPacketType>& rtcpPacketTypes) override; | 163 const std::set<RTCPPacketType>& rtcpPacketTypes) override; |
164 | 164 |
165 int32_t ResetSendDataCountersRTP() override; | |
166 | |
167 // Statistics of the amount of data sent and received. | 165 // Statistics of the amount of data sent and received. |
168 int32_t DataCountersRTP(size_t* bytes_sent, | 166 int32_t DataCountersRTP(size_t* bytes_sent, |
169 uint32_t* packets_sent) const override; | 167 uint32_t* packets_sent) const override; |
170 | 168 |
171 void GetSendStreamDataCounters( | 169 void GetSendStreamDataCounters( |
172 StreamDataCounters* rtp_counters, | 170 StreamDataCounters* rtp_counters, |
173 StreamDataCounters* rtx_counters) const override; | 171 StreamDataCounters* rtx_counters) const override; |
174 | 172 |
175 // Get received RTCP report, sender info. | 173 // Get received RTCP report, sender info. |
176 int32_t RemoteRTCPStat(RTCPSenderInfo* sender_info) override; | 174 int32_t RemoteRTCPStat(RTCPSenderInfo* sender_info) override; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 RtcpRttStats* rtt_stats_; | 375 RtcpRttStats* rtt_stats_; |
378 | 376 |
379 // The processed RTT from RtcpRttStats. | 377 // The processed RTT from RtcpRttStats. |
380 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; | 378 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; |
381 int64_t rtt_ms_; | 379 int64_t rtt_ms_; |
382 }; | 380 }; |
383 | 381 |
384 } // namespace webrtc | 382 } // namespace webrtc |
385 | 383 |
386 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 384 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |