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

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: feedback Created 4 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 void SetREMBStatus(bool enable) override; 195 void SetREMBStatus(bool enable) override;
196 196
197 void SetREMBData(uint32_t bitrate, 197 void SetREMBData(uint32_t bitrate,
198 const std::vector<uint32_t>& ssrcs) override; 198 const std::vector<uint32_t>& ssrcs) override;
199 199
200 // (TMMBR) Temporary Max Media Bit Rate. 200 // (TMMBR) Temporary Max Media Bit Rate.
201 bool TMMBR() const override; 201 bool TMMBR() const override;
202 202
203 void SetTMMBRStatus(bool enable) override; 203 void SetTMMBRStatus(bool enable) override;
204 204
205 int32_t SetTMMBN(const TMMBRSet* bounding_set); 205 void SetTMMBN(const std::vector<rtcp::TmmbItem>* bounding_set);
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(bool tcp,
214 bool ipv6, 214 bool ipv6,
215 uint8_t authentication_overhead = 0) override; 215 uint8_t authentication_overhead = 0) override;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 PacketLossStats receive_loss_stats_; 364 PacketLossStats receive_loss_stats_;
365 365
366 // The processed RTT from RtcpRttStats. 366 // The processed RTT from RtcpRttStats.
367 rtc::CriticalSection critical_section_rtt_; 367 rtc::CriticalSection critical_section_rtt_;
368 int64_t rtt_ms_; 368 int64_t rtt_ms_;
369 }; 369 };
370 370
371 } // namespace webrtc 371 } // namespace webrtc
372 372
373 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 373 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc ('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