Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender.h

Issue 2530363002: Cleanup RtpSender hiding RtpHeaderExtensionLength function. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698