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

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

Issue 1746773002: [rtp_rtcp] tmmbr helper simplified by moving set_to_send member out (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void SetREMBStatus(bool enable) override; 193 void SetREMBStatus(bool enable) override;
194 194
195 void SetREMBData(uint32_t bitrate, 195 void SetREMBData(uint32_t bitrate,
196 const std::vector<uint32_t>& ssrcs) override; 196 const std::vector<uint32_t>& ssrcs) override;
197 197
198 // (TMMBR) Temporary Max Media Bit Rate. 198 // (TMMBR) Temporary Max Media Bit Rate.
199 bool TMMBR() const override; 199 bool TMMBR() const override;
200 200
201 void SetTMMBRStatus(bool enable) override; 201 void SetTMMBRStatus(bool enable) override;
202 202
203 int32_t SetTMMBN(const TMMBRSet* bounding_set); 203 void SetTMMBN(const TMMBRSet* bounding_set);
204 204
205 uint16_t MaxPayloadLength() const override; 205 uint16_t MaxPayloadLength() const override;
206 206
207 uint16_t MaxDataPayloadLength() const override; 207 uint16_t MaxDataPayloadLength() const override;
208 208
209 int32_t SetMaxTransferUnit(uint16_t size) override; 209 int32_t SetMaxTransferUnit(uint16_t size) override;
210 210
211 int32_t SetTransportOverhead(bool tcp, 211 int32_t SetTransportOverhead(bool tcp,
212 bool ipv6, 212 bool ipv6,
213 uint8_t authentication_overhead = 0) override; 213 uint8_t authentication_overhead = 0) override;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 PacketLossStats receive_loss_stats_; 382 PacketLossStats receive_loss_stats_;
383 383
384 // The processed RTT from RtcpRttStats. 384 // The processed RTT from RtcpRttStats.
385 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; 385 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_;
386 int64_t rtt_ms_; 386 int64_t rtt_ms_;
387 }; 387 };
388 388
389 } // namespace webrtc 389 } // namespace webrtc
390 390
391 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 391 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698