ledbat tweaks

This commit is contained in:
2023-03-12 18:48:33 +01:00
parent 95bfa2473c
commit 304aae05c2
2 changed files with 11 additions and 13 deletions

View File

@ -29,8 +29,8 @@ struct LEDBAT {
static_assert(maximum_segment_size == 574); // mesured in wireshark
// ledbat++ says 60ms, we might need other values if relayed
//const float target_delay {0.060f};
const float target_delay {0.030f};
const float target_delay {0.060f};
//const float target_delay {0.030f};
//const float target_delay {0.120f}; // 2x if relayed?
// TODO: use a factor for multiple of rtt
@ -38,8 +38,7 @@ struct LEDBAT {
//static constexpr size_t rtt_buffer_size_max {2000};
//float max_byterate_allowed {10*1024*1024}; // 10MiB/s
float max_byterate_allowed {1*1024*1024};
float max_byterate_allowed {10*1024*1024}; // 10MiB/s
public:
LEDBAT(void);