| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 int probe_cluster_id); | 226 int probe_cluster_id); |
| 227 | 227 |
| 228 // Return the number of bytes sent. Note that both of these functions may | 228 // Return the number of bytes sent. Note that both of these functions may |
| 229 // return a larger value that their argument. | 229 // return a larger value that their argument. |
| 230 size_t TrySendRedundantPayloads(size_t bytes, int probe_cluster_id); | 230 size_t TrySendRedundantPayloads(size_t bytes, int probe_cluster_id); |
| 231 | 231 |
| 232 std::unique_ptr<RtpPacketToSend> BuildRtxPacket( | 232 std::unique_ptr<RtpPacketToSend> BuildRtxPacket( |
| 233 const RtpPacketToSend& packet); | 233 const RtpPacketToSend& packet); |
| 234 | 234 |
| 235 bool SendPacketToNetwork(const RtpPacketToSend& packet, | 235 bool SendPacketToNetwork(const RtpPacketToSend& packet, |
| 236 const PacketOptions& options); | 236 const PacketOptions& options, |
| 237 int probe_cluster_id); |
| 237 | 238 |
| 238 void UpdateDelayStatistics(int64_t capture_time_ms, int64_t now_ms); | 239 void UpdateDelayStatistics(int64_t capture_time_ms, int64_t now_ms); |
| 239 void UpdateOnSendPacket(int packet_id, | 240 void UpdateOnSendPacket(int packet_id, |
| 240 int64_t capture_time_ms, | 241 int64_t capture_time_ms, |
| 241 uint32_t ssrc); | 242 uint32_t ssrc); |
| 242 | 243 |
| 243 bool UpdateTransportSequenceNumber(RtpPacketToSend* packet, | 244 bool UpdateTransportSequenceNumber(RtpPacketToSend* packet, |
| 244 int* packet_id) const; | 245 int* packet_id) const; |
| 245 | 246 |
| 246 void UpdateRtpStats(const RtpPacketToSend& packet, | 247 void UpdateRtpStats(const RtpPacketToSend& packet, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 OverheadObserver* overhead_observer_; | 329 OverheadObserver* overhead_observer_; |
| 329 | 330 |
| 330 const bool send_side_bwe_with_overhead_; | 331 const bool send_side_bwe_with_overhead_; |
| 331 | 332 |
| 332 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 333 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
| 333 }; | 334 }; |
| 334 | 335 |
| 335 } // namespace webrtc | 336 } // namespace webrtc |
| 336 | 337 |
| 337 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 338 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
| OLD | NEW |