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

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: Rename SignalTransportOverheadChanged to UpdateTransportOverhead. Created 4 years, 1 month 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 // TODO(michaelt): deprecate the function.
213 int32_t SetTransportOverhead(bool tcp, 214 int32_t SetTransportOverhead(bool tcp,
214 bool ipv6, 215 bool ipv6,
215 uint8_t authentication_overhead = 0) override; 216 uint8_t authentication_overhead = 0) override;
216 217
218 void SetTransportOverhead(int transport_overhead_per_packet) override;
219
217 // (NACK) Negative acknowledgment part. 220 // (NACK) Negative acknowledgment part.
218 221
219 int SelectiveRetransmissions() const override; 222 int SelectiveRetransmissions() const override;
220 223
221 int SetSelectiveRetransmissions(uint8_t settings) override; 224 int SetSelectiveRetransmissions(uint8_t settings) override;
222 225
223 // Send a Negative acknowledgment packet. 226 // Send a Negative acknowledgment packet.
224 // TODO(philipel): Deprecate SendNACK and use SendNack instead. 227 // TODO(philipel): Deprecate SendNACK and use SendNack instead.
225 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override; 228 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
226 229
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 PacketLossStats receive_loss_stats_; 353 PacketLossStats receive_loss_stats_;
351 354
352 // The processed RTT from RtcpRttStats. 355 // The processed RTT from RtcpRttStats.
353 rtc::CriticalSection critical_section_rtt_; 356 rtc::CriticalSection critical_section_rtt_;
354 int64_t rtt_ms_; 357 int64_t rtt_ms_;
355 }; 358 };
356 359
357 } // namespace webrtc 360 } // namespace webrtc
358 361
359 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 362 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698