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

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

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Created 4 years, 2 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 void SetTMMBRStatus(bool enable) override; 203 void SetTMMBRStatus(bool enable) override;
204 204
205 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override; 205 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override;
206 206
207 uint16_t MaxPayloadLength() const override; 207 uint16_t MaxPayloadLength() const override;
208 208
209 uint16_t MaxDataPayloadLength() const override; 209 uint16_t MaxDataPayloadLength() const override;
210 210
211 int32_t SetMaxTransferUnit(uint16_t size) override; 211 int32_t SetMaxTransferUnit(uint16_t size) override;
212 212
213 int32_t SetTransportOverhead(bool tcp, 213 int32_t SetTransportOverhead(int transport_overhead_per_packet_byte) override;
214 bool ipv6,
215 uint8_t authentication_overhead = 0) override;
216 214
217 // (NACK) Negative acknowledgment part. 215 // (NACK) Negative acknowledgment part.
218 216
219 int SelectiveRetransmissions() const override; 217 int SelectiveRetransmissions() const override;
220 218
221 int SetSelectiveRetransmissions(uint8_t settings) override; 219 int SetSelectiveRetransmissions(uint8_t settings) override;
222 220
223 // Send a Negative acknowledgment packet. 221 // Send a Negative acknowledgment packet.
224 // TODO(philipel): Deprecate SendNACK and use SendNack instead. 222 // TODO(philipel): Deprecate SendNACK and use SendNack instead.
225 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override; 223 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 PacketLossStats receive_loss_stats_; 354 PacketLossStats receive_loss_stats_;
357 355
358 // The processed RTT from RtcpRttStats. 356 // The processed RTT from RtcpRttStats.
359 rtc::CriticalSection critical_section_rtt_; 357 rtc::CriticalSection critical_section_rtt_;
360 int64_t rtt_ms_; 358 int64_t rtt_ms_;
361 }; 359 };
362 360
363 } // namespace webrtc 361 } // namespace webrtc
364 362
365 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 363 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698