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

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: Respond to comments 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(bool tcp,
214 bool ipv6, 214 bool ipv6,
215 uint8_t authentication_overhead = 0) override; 215 uint8_t authentication_overhead = 0) override;
216 216
217 void SetTransportOverhead(int transport_overhead_per_packet_byte) override;
218
217 // (NACK) Negative acknowledgment part. 219 // (NACK) Negative acknowledgment part.
218 220
219 int SelectiveRetransmissions() const override; 221 int SelectiveRetransmissions() const override;
220 222
221 int SetSelectiveRetransmissions(uint8_t settings) override; 223 int SetSelectiveRetransmissions(uint8_t settings) override;
222 224
223 // Send a Negative acknowledgment packet. 225 // Send a Negative acknowledgment packet.
224 // TODO(philipel): Deprecate SendNACK and use SendNack instead. 226 // TODO(philipel): Deprecate SendNACK and use SendNack instead.
225 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override; 227 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
226 228
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 PacketLossStats receive_loss_stats_; 358 PacketLossStats receive_loss_stats_;
357 359
358 // The processed RTT from RtcpRttStats. 360 // The processed RTT from RtcpRttStats.
359 rtc::CriticalSection critical_section_rtt_; 361 rtc::CriticalSection critical_section_rtt_;
360 int64_t rtt_ms_; 362 int64_t rtt_ms_;
361 }; 363 };
362 364
363 } // namespace webrtc 365 } // namespace webrtc
364 366
365 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 367 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698