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 size_t payload_size, | 116 size_t payload_size, |
117 const RTPFragmentationHeader* fragmentation, | 117 const RTPFragmentationHeader* fragmentation, |
118 const RTPVideoHeader* rtp_header, | 118 const RTPVideoHeader* rtp_header, |
119 uint32_t* transport_frame_id_out); | 119 uint32_t* transport_frame_id_out); |
120 | 120 |
121 // RTP header extension | 121 // RTP header extension |
122 int32_t RegisterRtpHeaderExtension(RTPExtensionType type, uint8_t id); | 122 int32_t RegisterRtpHeaderExtension(RTPExtensionType type, uint8_t id); |
123 bool IsRtpHeaderExtensionRegistered(RTPExtensionType type); | 123 bool IsRtpHeaderExtensionRegistered(RTPExtensionType type); |
124 int32_t DeregisterRtpHeaderExtension(RTPExtensionType type); | 124 int32_t DeregisterRtpHeaderExtension(RTPExtensionType type); |
125 | 125 |
126 size_t RtpHeaderExtensionLength() const; | |
127 | |
128 bool TimeToSendPacket(uint32_t ssrc, | 126 bool TimeToSendPacket(uint32_t ssrc, |
129 uint16_t sequence_number, | 127 uint16_t sequence_number, |
130 int64_t capture_time_ms, | 128 int64_t capture_time_ms, |
131 bool retransmission, | 129 bool retransmission, |
132 int probe_cluster_id); | 130 int probe_cluster_id); |
133 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id); | 131 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id); |
134 | 132 |
135 // NACK. | 133 // NACK. |
136 int SelectiveRetransmissions() const; | 134 int SelectiveRetransmissions() const; |
137 int SetSelectiveRetransmissions(uint8_t settings); | 135 int SetSelectiveRetransmissions(uint8_t settings); |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 340 |
343 RateLimiter* const retransmission_rate_limiter_; | 341 RateLimiter* const retransmission_rate_limiter_; |
344 OverheadObserver* overhead_observer_; | 342 OverheadObserver* overhead_observer_; |
345 | 343 |
346 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); | 344 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); |
347 }; | 345 }; |
348 | 346 |
349 } // namespace webrtc | 347 } // namespace webrtc |
350 | 348 |
351 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ | 349 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ |
OLD | NEW |