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