mirror of
https://github.com/Green-Sky/tox_ngc_ft1.git
synced 2025-07-14 13:56:45 +02:00
ledbat tweaks
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user