| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 uint32_t time_stamp, | 116 uint32_t time_stamp, |
| 117 int64_t capture_time_ms, | 117 int64_t capture_time_ms, |
| 118 const uint8_t* payload_data, | 118 const uint8_t* payload_data, |
| 119 size_t payload_size, | 119 size_t payload_size, |
| 120 const RTPFragmentationHeader* fragmentation = NULL, | 120 const RTPFragmentationHeader* fragmentation = NULL, |
| 121 const RTPVideoHeader* rtp_video_hdr = NULL) override; | 121 const RTPVideoHeader* rtp_video_hdr = NULL) override; |
| 122 | 122 |
| 123 bool TimeToSendPacket(uint32_t ssrc, | 123 bool TimeToSendPacket(uint32_t ssrc, |
| 124 uint16_t sequence_number, | 124 uint16_t sequence_number, |
| 125 int64_t capture_time_ms, | 125 int64_t capture_time_ms, |
| 126 bool retransmission) override; | 126 bool retransmission, |
| 127 int probe_cluster_id) override; |
| 127 | 128 |
| 128 // Returns the number of padding bytes actually sent, which can be more or | 129 // Returns the number of padding bytes actually sent, which can be more or |
| 129 // less than |bytes|. | 130 // less than |bytes|. |
| 130 size_t TimeToSendPadding(size_t bytes) override; | 131 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) override; |
| 131 | 132 |
| 132 // RTCP part. | 133 // RTCP part. |
| 133 | 134 |
| 134 // Get RTCP status. | 135 // Get RTCP status. |
| 135 RtcpMode RTCP() const override; | 136 RtcpMode RTCP() const override; |
| 136 | 137 |
| 137 // Configure RTCP status i.e on/off. | 138 // Configure RTCP status i.e on/off. |
| 138 void SetRTCPStatus(RtcpMode method) override; | 139 void SetRTCPStatus(RtcpMode method) override; |
| 139 | 140 |
| 140 // Set RTCP CName. | 141 // Set RTCP CName. |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 PacketLossStats receive_loss_stats_; | 365 PacketLossStats receive_loss_stats_; |
| 365 | 366 |
| 366 // The processed RTT from RtcpRttStats. | 367 // The processed RTT from RtcpRttStats. |
| 367 rtc::CriticalSection critical_section_rtt_; | 368 rtc::CriticalSection critical_section_rtt_; |
| 368 int64_t rtt_ms_; | 369 int64_t rtt_ms_; |
| 369 }; | 370 }; |
| 370 | 371 |
| 371 } // namespace webrtc | 372 } // namespace webrtc |
| 372 | 373 |
| 373 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 374 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
| OLD | NEW |