Network controller is an implementation of the NetworkControllerInterface which is a part of congestion controller API. Bitrate controller computes rate update each iteration (see https://www.usenix.org/system/files/conference/nsdi18/nsdi18-dong.pdf). Bug: webrtc:9434 Change-Id: I48d3d9e1c713985ef9ebe28dc1f1285757588c69 Reviewed-on: https://webrtc-review.googlesource.com/87222 Commit-Queue: Anastasia Koloskova <koloskova@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24376}
31 lines
993 B
C++
31 lines
993 B
C++
/*
|
|
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "modules/congestion_controller/pcc/pcc_factory.h"
|
|
#include <memory>
|
|
|
|
#include "absl/memory/memory.h"
|
|
#include "modules/congestion_controller/pcc/pcc_network_controller.h"
|
|
|
|
namespace webrtc {
|
|
|
|
PccNetworkControllerFactory::PccNetworkControllerFactory() {}
|
|
|
|
std::unique_ptr<NetworkControllerInterface> PccNetworkControllerFactory::Create(
|
|
NetworkControllerConfig config) {
|
|
return absl::make_unique<pcc::PccNetworkController>(config);
|
|
}
|
|
|
|
TimeDelta PccNetworkControllerFactory::GetProcessInterval() const {
|
|
return TimeDelta::PlusInfinity();
|
|
}
|
|
|
|
} // namespace webrtc
|