Searched refs:old_loss_rate (Results 1 – 1 of 1) sorted by relevance
43 double OptimizePacketLossRate(double new_loss_rate, double old_loss_rate) { in OptimizePacketLossRate() argument46 RTC_DCHECK_GE(old_loss_rate, 0.0); in OptimizePacketLossRate()47 RTC_DCHECK_LE(old_loss_rate, 1.0); in OptimizePacketLossRate()58 (kPacketLossRate20 - old_loss_rate > 0 ? 1 : -1)) { in OptimizePacketLossRate()63 (kPacketLossRate10 - old_loss_rate > 0 ? 1 : -1)) { in OptimizePacketLossRate()68 (kPacketLossRate5 - old_loss_rate > 0 ? 1 : -1)) { in OptimizePacketLossRate()