![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TrafficControl.h>
Public Member Functions | |
| ENGINE_API | FNetworkCongestionControl (double ConfiguredNetSpeed, uint32 MaxPackets) |
| ENGINE_API void | OnAck (const FAckSample &AckSample) |
| ENGINE_API bool | IsReadyToSend (double Timestamp) const |
| ENGINE_API void | OnSend (const FSeqSample &SeqSample) |
One implementation of network traffic control based on the unacked bytes in flight and the estimated uplink bandwidth and propagation round-trip time. The idea is to keep the bytes in flight under the BDP(bandwidth round trip time product).
| FNetworkCongestionControl::FNetworkCongestionControl | ( | double | ConfiguredNetSpeed, |
| uint32 | MaxPackets | ||
| ) |
| void FNetworkCongestionControl::OnAck | ( | const FAckSample & | AckSample | ) |
| void FNetworkCongestionControl::OnSend | ( | const FSeqSample & | SeqSample | ) |