提交 a8d7c720 authored 作者: Dragos Oancea's avatar Dragos Oancea

FS-11666: RTCP: fix RENACK_TIME check (throttle when NACKing the same seq)

上级 bd90f82e
......@@ -1140,8 +1140,8 @@ SWITCH_DECLARE(uint32_t) switch_jb_pop_nack(switch_jb_t *jb)
seq = ntohs(*((uint16_t *) var));
then = (intptr_t) val;
if (then != 1 && switch_time_now() - then < RENACK_TIME) {
//jb_debug(jb, 3, "NACKABLE seq %u too soon to repeat\n", seq);
if (then != 1 && ((uint32_t)(switch_time_now() - then)) < RENACK_TIME) {
jb_debug(jb, 3, "NACKABLE seq %u too soon to repeat\n", seq);
continue;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论