提交 60bd4bec authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-8802 #resolve [RTP stops sending audio when sent timestamp rolls over]

上级 fe5fd766
......@@ -7405,8 +7405,8 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
rtp_session->flags[SWITCH_RTP_FLAG_RESET] = 1;
}
if (!switch_rtp_ready(rtp_session) || rtp_session->sending_dtmf || !this_ts ||
(!rtp_session->flags[SWITCH_RTP_FLAG_RESET] && this_ts < rtp_session->last_write_ts)) {
if (!switch_rtp_ready(rtp_session) || rtp_session->sending_dtmf ||
(!rtp_session->flags[SWITCH_RTP_FLAG_RESET] && this_ts > rtp_session->one_second && this_ts < rtp_session->last_write_ts)) {
send = 0;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论