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

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

Issue 2504023002: Implement periodic bandwidth probing in application-limited region. (Closed)
Patch Set: address feedback Created 4 years 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 int max_bitrate_bps); 75 int max_bitrate_bps);
76 virtual void SignalNetworkState(NetworkState state); 76 virtual void SignalNetworkState(NetworkState state);
77 virtual BitrateController* GetBitrateController() const; 77 virtual BitrateController* GetBitrateController() const;
78 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator( 78 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(
79 bool send_side_bwe); 79 bool send_side_bwe);
80 virtual int64_t GetPacerQueuingDelayMs() const; 80 virtual int64_t GetPacerQueuingDelayMs() const;
81 virtual PacedSender* pacer() { return pacer_.get(); } 81 virtual PacedSender* pacer() { return pacer_.get(); }
82 virtual PacketRouter* packet_router() { return packet_router_.get(); } 82 virtual PacketRouter* packet_router() { return packet_router_.get(); }
83 virtual TransportFeedbackObserver* GetTransportFeedbackObserver(); 83 virtual TransportFeedbackObserver* GetTransportFeedbackObserver();
84 RateLimiter* GetRetransmissionRateLimiter(); 84 RateLimiter* GetRetransmissionRateLimiter();
85 void EnablePeriodicAlrProbing(bool enable);
85 86
86 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec 87 // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec
87 // settings. 88 // settings.
88 // |min_send_bitrate_bps| is the total minimum send bitrate required by all 89 // |min_send_bitrate_bps| is the total minimum send bitrate required by all
89 // sending streams. This is the minimum bitrate the PacedSender will use. 90 // sending streams. This is the minimum bitrate the PacedSender will use.
90 // Note that CongestionController::OnNetworkChanged can still be called with 91 // Note that CongestionController::OnNetworkChanged can still be called with
91 // a lower bitrate estimate. 92 // a lower bitrate estimate.
92 // |max_padding_bitrate_bps| is the max bitrate the send streams request for 93 // |max_padding_bitrate_bps| is the max bitrate the send streams request for
93 // padding. This can be higher than the current network estimate and tells 94 // padding. This can be higher than the current network estimate and tells
94 // the PacedSender how much it should max pad unless there is real packets to 95 // the PacedSender how much it should max pad unless there is real packets to
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_); 132 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_);
132 int64_t last_reported_rtt_ GUARDED_BY(critsect_); 133 int64_t last_reported_rtt_ GUARDED_BY(critsect_);
133 NetworkState network_state_ GUARDED_BY(critsect_); 134 NetworkState network_state_ GUARDED_BY(critsect_);
134 135
135 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 136 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
136 }; 137 };
137 138
138 } // namespace webrtc 139 } // namespace webrtc
139 140
140 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 141 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/congestion_controller/congestion_controller.cc ('k') | webrtc/modules/congestion_controller/probe_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698