| Index: webrtc/modules/congestion_controller/include/congestion_controller.h
|
| diff --git a/webrtc/modules/congestion_controller/include/congestion_controller.h b/webrtc/modules/congestion_controller/include/congestion_controller.h
|
| index da8719d33a73a86c370a34fb2ac4f34658ecf58e..1c04c119dffd4e9fe21b37cd1b6e1402ff1a0de7 100644
|
| --- a/webrtc/modules/congestion_controller/include/congestion_controller.h
|
| +++ b/webrtc/modules/congestion_controller/include/congestion_controller.h
|
| @@ -79,8 +79,18 @@ class CongestionController : public CallStatsObserver, public Module {
|
| virtual PacketRouter* packet_router() { return packet_router_.get(); }
|
| virtual TransportFeedbackObserver* GetTransportFeedbackObserver();
|
|
|
| - void SetAllocatedSendBitrate(int allocated_bitrate_bps,
|
| - int padding_bitrate_bps);
|
| + // SetAllocatedSendBitrateLimits sets bitrates limits imposed by send codec
|
| + // settings.
|
| + // |min_send_bitrate_bps| is the total minimum send bitrate required by all
|
| + // sending streams. This is the minimum bitrate the PacedSender will use.
|
| + // Note that CongestionController::OnNetworkChanged can still be called with
|
| + // a lower bitrate estimate.
|
| + // |max_padding_bitrate_bps| is the max bitrate the send streams request for
|
| + // padding. This can be higher than the current network estimate and tells
|
| + // the PacedSender how much it should max pad unless there is real packets to
|
| + // send.
|
| + void SetAllocatedSendBitrateLimits(int min_send_bitrate_bps,
|
| + int max_padding_bitrate_bps);
|
|
|
| virtual void OnSentPacket(const rtc::SentPacket& sent_packet);
|
|
|
|
|