|
|
|
@ -54,8 +54,8 @@ namespace stream
@@ -54,8 +54,8 @@ namespace stream
|
|
|
|
|
const size_t COMPRESSION_THRESHOLD_SIZE = 66; |
|
|
|
|
const int MAX_NUM_RESEND_ATTEMPTS = 10; |
|
|
|
|
const int INITIAL_WINDOW_SIZE = 10; |
|
|
|
|
const int MIN_WINDOW_SIZE = 1; |
|
|
|
|
const int MAX_WINDOW_SIZE = 1024; |
|
|
|
|
const int MIN_WINDOW_SIZE = 2; |
|
|
|
|
const int MAX_WINDOW_SIZE = 512; |
|
|
|
|
const double RTT_EWMA_ALPHA = 0.25; |
|
|
|
|
const double SLOWRTT_EWMA_ALPHA = 0.125; |
|
|
|
|
const double PREV_SPEED_KEEP_TIME_COEFF = 0.35; // 0.1 - 1 // how long will the window size stay around the previous drop level, less is longer
|
|
|
|
|