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