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

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

Issue 2652893004: Enable audio streams to send padding. (Closed)
Patch Set: Only use padding if BWE extensions. Created 3 years, 10 months 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
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 uint32_t timestamp, 113 uint32_t timestamp,
114 int64_t capture_time_ms, 114 int64_t capture_time_ms,
115 const uint8_t* payload_data, 115 const uint8_t* payload_data,
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) const;
124 int32_t DeregisterRtpHeaderExtension(RTPExtensionType type); 124 int32_t DeregisterRtpHeaderExtension(RTPExtensionType type);
125 125
126 bool TimeToSendPacket(uint32_t ssrc, 126 bool TimeToSendPacket(uint32_t ssrc,
127 uint16_t sequence_number, 127 uint16_t sequence_number,
128 int64_t capture_time_ms, 128 int64_t capture_time_ms,
129 bool retransmission, 129 bool retransmission,
130 int probe_cluster_id); 130 int probe_cluster_id);
131 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id); 131 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id);
132 132
133 // NACK. 133 // NACK.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 OverheadObserver* overhead_observer_; 328 OverheadObserver* overhead_observer_;
329 329
330 const bool send_side_bwe_with_overhead_; 330 const bool send_side_bwe_with_overhead_;
331 331
332 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); 332 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender);
333 }; 333 };
334 334
335 } // namespace webrtc 335 } // namespace webrtc
336 336
337 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ 337 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698