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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 | 328 |
329 bool TimeToSendFullNackList(int64_t now) const; | 329 bool TimeToSendFullNackList(int64_t now) const; |
330 | 330 |
331 std::unique_ptr<RTPSender> rtp_sender_; | 331 std::unique_ptr<RTPSender> rtp_sender_; |
332 RTCPSender rtcp_sender_; | 332 RTCPSender rtcp_sender_; |
333 RTCPReceiver rtcp_receiver_; | 333 RTCPReceiver rtcp_receiver_; |
334 | 334 |
335 const Clock* const clock_; | 335 const Clock* const clock_; |
336 | 336 |
337 const bool audio_; | 337 const bool audio_; |
338 int64_t last_process_time_; | 338 |
| 339 const RtpKeepAliveConfig keepalive_config_; |
339 int64_t last_bitrate_process_time_; | 340 int64_t last_bitrate_process_time_; |
340 int64_t last_rtt_process_time_; | 341 int64_t last_rtt_process_time_; |
| 342 int64_t next_process_time_; |
| 343 int64_t next_keepalive_time_; |
341 uint16_t packet_overhead_; | 344 uint16_t packet_overhead_; |
342 | 345 |
343 // Send side | 346 // Send side |
344 int64_t nack_last_time_sent_full_; | 347 int64_t nack_last_time_sent_full_; |
345 uint32_t nack_last_time_sent_full_prev_; | 348 uint32_t nack_last_time_sent_full_prev_; |
346 uint16_t nack_last_seq_number_sent_; | 349 uint16_t nack_last_seq_number_sent_; |
347 | 350 |
348 KeyFrameRequestMethod key_frame_req_method_; | 351 KeyFrameRequestMethod key_frame_req_method_; |
349 | 352 |
350 RemoteBitrateEstimator* remote_bitrate_; | 353 RemoteBitrateEstimator* remote_bitrate_; |
351 | 354 |
352 RtcpRttStats* rtt_stats_; | 355 RtcpRttStats* rtt_stats_; |
353 | 356 |
354 PacketLossStats send_loss_stats_; | 357 PacketLossStats send_loss_stats_; |
355 PacketLossStats receive_loss_stats_; | 358 PacketLossStats receive_loss_stats_; |
356 | 359 |
357 // The processed RTT from RtcpRttStats. | 360 // The processed RTT from RtcpRttStats. |
358 rtc::CriticalSection critical_section_rtt_; | 361 rtc::CriticalSection critical_section_rtt_; |
359 int64_t rtt_ms_; | 362 int64_t rtt_ms_; |
360 }; | 363 }; |
361 | 364 |
362 } // namespace webrtc | 365 } // namespace webrtc |
363 | 366 |
364 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 367 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |