Open adcen0107 opened 2 years ago
void bitrate_controller_on_report(bitrate_controller_t* ctrl, uint32_t rtt, int64_t cur_ts, uint8_t fraction_loss, int packets_num, uint32_t acked_bitrate) { if (packets_num > 0){ sender_estimation_update_block(ctrl->est, fraction_loss, rtt, packets_num, cur_ts, acked_bitrate); maybe_trigger_network_changed(ctrl); } else{ razor_warn("bitrate controller recv packets_num < 0\n"); //should recv packets_num <= 0 ? } }
void bitrate_controller_on_report(bitrate_controller_t* ctrl, uint32_t rtt, int64_t cur_ts, uint8_t fraction_loss, int packets_num, uint32_t acked_bitrate) { if (packets_num > 0){ sender_estimation_update_block(ctrl->est, fraction_loss, rtt, packets_num, cur_ts, acked_bitrate); maybe_trigger_network_changed(ctrl); } else{ razor_warn("bitrate controller recv packets_num < 0\n"); //should recv packets_num <= 0 ? } }