Test video adaptation from poor connectivity to the 4 Mbps ceiling
This commit is contained in:
1 parent
4abc5ef6e7
commit
03d8f71be4
2 files changed
+54
-2
No files matched your search
@@ -84,7 +84,7 @@ int call_video_rate_step(struct call_video_rate *rate, const struct call_video_r
|
||||
uint32_t floor = s->applied_bps / 2;
|
||||
if (floor < s->minimum_bps) floor = s->minimum_bps;
|
||||
if (candidate < floor) candidate = floor;
|
||||
if (candidate < s->applied_bps * 95ull / 100) {
|
||||
if (candidate < s->applied_bps * 95ull / 100 || (candidate == s->minimum_bps && candidate < s->applied_bps)) {
|
||||
result.target_bps = (uint32_t)candidate; result.reason = CALL_VIDEO_RATE_DRAIN;
|
||||
}
|
||||
} else if (!result.excess_bytes && result.admit && s->produced_bytes && s->delivered_bytes
|
||||
|
||||
Reference in new issue
Block a user