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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void SetMaxRtpPacketSize(size_t max_packet_size); | 101 void SetMaxRtpPacketSize(size_t max_packet_size); |
102 | 102 |
103 bool SendOutgoingData(FrameType frame_type, | 103 bool SendOutgoingData(FrameType frame_type, |
104 int8_t payload_type, | 104 int8_t payload_type, |
105 uint32_t timestamp, | 105 uint32_t timestamp, |
106 int64_t capture_time_ms, | 106 int64_t capture_time_ms, |
107 const uint8_t* payload_data, | 107 const uint8_t* payload_data, |
108 size_t payload_size, | 108 size_t payload_size, |
109 const RTPFragmentationHeader* fragmentation, | 109 const RTPFragmentationHeader* fragmentation, |
110 const RTPVideoHeader* rtp_header, | 110 const RTPVideoHeader* rtp_header, |
111 uint32_t* transport_frame_id_out); | 111 uint32_t* transport_frame_id_out, |
| 112 int64_t expected_retransmission_time_ms); |
112 | 113 |
113 // RTP header extension | 114 // RTP header extension |
114 int32_t RegisterRtpHeaderExtension(RTPExtensionType type, uint8_t id); | 115 int32_t RegisterRtpHeaderExtension(RTPExtensionType type, uint8_t id); |
115 bool IsRtpHeaderExtensionRegistered(RTPExtensionType type) const; | 116 bool IsRtpHeaderExtensionRegistered(RTPExtensionType type) const; |
116 int32_t DeregisterRtpHeaderExtension(RTPExtensionType type); | 117 int32_t DeregisterRtpHeaderExtension(RTPExtensionType type); |
117 | 118 |
118 bool TimeToSendPacket(uint32_t ssrc, | 119 bool TimeToSendPacket(uint32_t ssrc, |
119 uint16_t sequence_number, | 120 uint16_t sequence_number, |
120 int64_t capture_time_ms, | 121 int64_t capture_time_ms, |
121 bool retransmission, | 122 bool retransmission, |
(...skipping 203 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 |