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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 rtcp::ReceiveTimeInfo remote_time_info_; | 237 rtcp::ReceiveTimeInfo remote_time_info_; |
238 // Time when the report was received. | 238 // Time when the report was received. |
239 NtpTime last_received_xr_ntp_; | 239 NtpTime last_received_xr_ntp_; |
240 // Estimated rtt, zero when there is no valid estimate. | 240 // Estimated rtt, zero when there is no valid estimate. |
241 bool xr_rrtr_status_ GUARDED_BY(rtcp_receiver_lock_); | 241 bool xr_rrtr_status_ GUARDED_BY(rtcp_receiver_lock_); |
242 int64_t xr_rr_rtt_ms_; | 242 int64_t xr_rr_rtt_ms_; |
243 | 243 |
244 // Received report blocks. | 244 // Received report blocks. |
245 ReportBlockMap received_report_blocks_ GUARDED_BY(rtcp_receiver_lock_); | 245 ReportBlockMap received_report_blocks_ GUARDED_BY(rtcp_receiver_lock_); |
246 ReceivedInfoMap received_infos_ GUARDED_BY(rtcp_receiver_lock_); | 246 ReceivedInfoMap received_infos_ GUARDED_BY(rtcp_receiver_lock_); |
| 247 int64_t oldest_received_info_ms_ GUARDED_BY(rtcp_receiver_lock_); |
247 std::map<uint32_t, std::string> received_cnames_ | 248 std::map<uint32_t, std::string> received_cnames_ |
248 GUARDED_BY(rtcp_receiver_lock_); | 249 GUARDED_BY(rtcp_receiver_lock_); |
249 | 250 |
250 // The last time we received an RTCP RR. | 251 // The last time we received an RTCP RR. |
251 int64_t last_received_rr_ms_; | 252 int64_t last_received_rr_ms_ GUARDED_BY(rtcp_receiver_lock_); |
252 | 253 |
253 // The time we last received an RTCP RR telling we have successfully | 254 // The time we last received an RTCP RR telling we have successfully |
254 // delivered RTP packet to the remote side. | 255 // delivered RTP packet to the remote side. |
255 int64_t last_increased_sequence_number_ms_; | 256 int64_t last_increased_sequence_number_ms_; |
256 | 257 |
257 RtcpStatisticsCallback* stats_callback_ GUARDED_BY(feedbacks_lock_); | 258 RtcpStatisticsCallback* stats_callback_ GUARDED_BY(feedbacks_lock_); |
258 | 259 |
259 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; | 260 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; |
260 RtcpPacketTypeCounter packet_type_counter_; | 261 RtcpPacketTypeCounter packet_type_counter_; |
261 | 262 |
262 RTCPUtility::NackStats nack_stats_; | 263 RTCPUtility::NackStats nack_stats_; |
263 | 264 |
264 size_t num_skipped_packets_; | 265 size_t num_skipped_packets_; |
265 int64_t last_skipped_packets_warning_ms_; | 266 int64_t last_skipped_packets_warning_ms_; |
266 }; | 267 }; |
267 } // namespace webrtc | 268 } // namespace webrtc |
268 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ | 269 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ |
OLD | NEW |