| Index: webrtc/modules/congestion_controller/congestion_controller.cc
|
| diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc
|
| index bbdd968dc668f6c51587b891f700c96e39dbcc42..2fae264156fd3efc4d3b5ed10bf3789f202bb23d 100644
|
| --- a/webrtc/modules/congestion_controller/congestion_controller.cc
|
| +++ b/webrtc/modules/congestion_controller/congestion_controller.cc
|
| @@ -197,6 +197,23 @@ CongestionController::CongestionController(
|
|
|
| CongestionController::~CongestionController() {}
|
|
|
| +void CongestionController::OnReceivedPacket(int64_t arrival_time_ms,
|
| + size_t payload_size,
|
| + const RTPHeader& header) {
|
| + // Send-side BWE.
|
| + if (header.extension.hasTransportSequenceNumber) {
|
| + remote_estimator_proxy_.IncomingPacket(arrival_time_ms, payload_size,
|
| + header);
|
| + return;
|
| + }
|
| +
|
| + // Receive-side BWE.
|
| + if (remote_bitrate_estimator_) {
|
| + remote_bitrate_estimator_->IncomingPacket(arrival_time_ms, payload_size,
|
| + header);
|
| + }
|
| +}
|
| +
|
| void CongestionController::SetBweBitrates(int min_bitrate_bps,
|
| int start_bitrate_bps,
|
| int max_bitrate_bps) {
|
|
|