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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, RttForReceiverOnly); | 323 FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, RttForReceiverOnly); |
324 int64_t RtcpReportInterval(); | 324 int64_t RtcpReportInterval(); |
325 void SetRtcpReceiverSsrcs(uint32_t main_ssrc); | 325 void SetRtcpReceiverSsrcs(uint32_t main_ssrc); |
326 | 326 |
327 void set_rtt_ms(int64_t rtt_ms); | 327 void set_rtt_ms(int64_t rtt_ms); |
328 int64_t rtt_ms() const; | 328 int64_t rtt_ms() const; |
329 | 329 |
330 bool TimeToSendFullNackList(int64_t now) const; | 330 bool TimeToSendFullNackList(int64_t now) const; |
331 | 331 |
332 const bool audio_; | 332 const bool audio_; |
333 bool collision_detected_; | |
334 int64_t last_process_time_; | 333 int64_t last_process_time_; |
335 int64_t last_bitrate_process_time_; | 334 int64_t last_bitrate_process_time_; |
336 int64_t last_rtt_process_time_; | 335 int64_t last_rtt_process_time_; |
337 uint16_t packet_overhead_; | 336 uint16_t packet_overhead_; |
338 | 337 |
339 // Send side | 338 // Send side |
340 int64_t nack_last_time_sent_full_; | 339 int64_t nack_last_time_sent_full_; |
341 uint32_t nack_last_time_sent_full_prev_; | 340 uint32_t nack_last_time_sent_full_prev_; |
342 uint16_t nack_last_seq_number_sent_; | 341 uint16_t nack_last_seq_number_sent_; |
343 | 342 |
344 KeyFrameRequestMethod key_frame_req_method_; | 343 KeyFrameRequestMethod key_frame_req_method_; |
345 | 344 |
346 RemoteBitrateEstimator* remote_bitrate_; | 345 RemoteBitrateEstimator* remote_bitrate_; |
347 | 346 |
348 RtcpRttStats* rtt_stats_; | 347 RtcpRttStats* rtt_stats_; |
349 | 348 |
350 PacketLossStats send_loss_stats_; | 349 PacketLossStats send_loss_stats_; |
351 PacketLossStats receive_loss_stats_; | 350 PacketLossStats receive_loss_stats_; |
352 | 351 |
353 // The processed RTT from RtcpRttStats. | 352 // The processed RTT from RtcpRttStats. |
354 rtc::CriticalSection critical_section_rtt_; | 353 rtc::CriticalSection critical_section_rtt_; |
355 int64_t rtt_ms_; | 354 int64_t rtt_ms_; |
356 }; | 355 }; |
357 | 356 |
358 } // namespace webrtc | 357 } // namespace webrtc |
359 | 358 |
360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 359 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |