Skip to content

Commit

Permalink
Reduced buildup step
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Nov 21, 2023
1 parent 11449cc commit 8c16c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ice.c
Original file line number Diff line number Diff line change
Expand Up @@ -4595,8 +4595,8 @@ static gboolean janus_ice_outgoing_bwe_handle(gpointer user_data) {
uint32_t gap = (pc->bwe->probing_buildup_step >= 10000 ? 500000 : 200000);
if(now - pc->bwe->probing_buildup_timer >= gap) {
pc->bwe->probing_buildup_step += 1000;
if(pc->bwe->probing_buildup_step > 20000)
pc->bwe->probing_buildup_step = 20000;
if(pc->bwe->probing_buildup_step > 10000)
pc->bwe->probing_buildup_step = 10000;
pc->bwe->probing_buildup += pc->bwe->probing_buildup_step;
pc->bwe->probing_buildup_timer = now;
}
Expand Down

0 comments on commit 8c16c7a

Please sign in to comment.