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

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

Issue 2867713003: Remove hardcoded kValueSizeBytes values from variable-length header extensions. (Closed)
Patch Set: Patch 1 Created 3 years, 7 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void SetREMBData(uint32_t bitrate, 202 void SetREMBData(uint32_t bitrate,
203 const std::vector<uint32_t>& ssrcs) override; 203 const std::vector<uint32_t>& ssrcs) override;
204 204
205 // (TMMBR) Temporary Max Media Bit Rate. 205 // (TMMBR) Temporary Max Media Bit Rate.
206 bool TMMBR() const override; 206 bool TMMBR() const override;
207 207
208 void SetTMMBRStatus(bool enable) override; 208 void SetTMMBRStatus(bool enable) override;
209 209
210 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override; 210 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override;
211 211
212 size_t MaxPayloadSize() const override; 212 size_t MaxPayloadSize(
213 rtc::ArrayView<const RtpExtensionSize> extension_sizes) const override;
213 214
214 size_t MaxRtpPacketSize() const override; 215 size_t MaxRtpPacketSize() const override;
215 216
216 void SetMaxRtpPacketSize(size_t max_packet_size) override; 217 void SetMaxRtpPacketSize(size_t max_packet_size) override;
217 218
218 // (NACK) Negative acknowledgment part. 219 // (NACK) Negative acknowledgment part.
219 220
220 int SelectiveRetransmissions() const override; 221 int SelectiveRetransmissions() const override;
221 222
222 int SetSelectiveRetransmissions(uint8_t settings) override; 223 int SetSelectiveRetransmissions(uint8_t settings) override;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 PacketLossStats receive_loss_stats_; 358 PacketLossStats receive_loss_stats_;
358 359
359 // The processed RTT from RtcpRttStats. 360 // The processed RTT from RtcpRttStats.
360 rtc::CriticalSection critical_section_rtt_; 361 rtc::CriticalSection critical_section_rtt_;
361 int64_t rtt_ms_; 362 int64_t rtt_ms_;
362 }; 363 };
363 364
364 } // namespace webrtc 365 } // namespace webrtc
365 366
366 #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