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

Side by Side Diff: webrtc/modules/congestion_controller/include/send_side_congestion_controller.h

Issue 2825333002: Replace first_packet_sent_ms_ in Call. (Closed)
Patch Set: Created 3 years, 8 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Resets the BWE state. Note the first argument is the bitrate_bps. 81 // Resets the BWE state. Note the first argument is the bitrate_bps.
82 virtual void OnNetworkRouteChanged(const rtc::NetworkRoute& network_route, 82 virtual void OnNetworkRouteChanged(const rtc::NetworkRoute& network_route,
83 int bitrate_bps, 83 int bitrate_bps,
84 int min_bitrate_bps, 84 int min_bitrate_bps,
85 int max_bitrate_bps); 85 int max_bitrate_bps);
86 virtual void SignalNetworkState(NetworkState state); 86 virtual void SignalNetworkState(NetworkState state);
87 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet); 87 virtual void SetTransportOverhead(size_t transport_overhead_bytes_per_packet);
88 88
89 virtual BitrateController* GetBitrateController() const; 89 virtual BitrateController* GetBitrateController() const;
90 virtual int64_t GetPacerQueuingDelayMs() const; 90 virtual int64_t GetPacerQueuingDelayMs() const;
91 virtual int64_t GetFirstPacketTimeMs() const;
91 // TODO(nisse): Delete this accessor function. The pacer should be 92 // TODO(nisse): Delete this accessor function. The pacer should be
92 // internal to the congestion controller. 93 // internal to the congestion controller.
93 virtual PacedSender* pacer() { return pacer_.get(); } 94 virtual PacedSender* pacer() { return pacer_.get(); }
94 virtual TransportFeedbackObserver* GetTransportFeedbackObserver() { 95 virtual TransportFeedbackObserver* GetTransportFeedbackObserver() {
95 return this; 96 return this;
96 } 97 }
97 RateLimiter* GetRetransmissionRateLimiter(); 98 RateLimiter* GetRetransmissionRateLimiter();
98 void EnablePeriodicAlrProbing(bool enable); 99 void EnablePeriodicAlrProbing(bool enable);
99 100
100 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec 101 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_); 154 std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(bwe_lock_);
154 155
155 rtc::ThreadChecker worker_thread_checker_; 156 rtc::ThreadChecker worker_thread_checker_;
156 157
157 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController); 158 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController);
158 }; 159 };
159 160
160 } // namespace webrtc 161 } // namespace webrtc
161 162
162 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON TROLLER_H_ 163 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_SEND_SIDE_CONGESTION_CON TROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/modules/congestion_controller/send_side_congestion_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698