提交 5d03cd94 authored 作者: Brian West's avatar Brian West

revert as per anthm

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13777 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1b630364
...@@ -1774,9 +1774,8 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ ...@@ -1774,9 +1774,8 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
if ((switch_test_flag(rtp_session, SWITCH_RTP_FLAG_AUTOFLUSH) || switch_test_flag(rtp_session, SWITCH_RTP_FLAG_STICKY_FLUSH)) && if ((switch_test_flag(rtp_session, SWITCH_RTP_FLAG_AUTOFLUSH) || switch_test_flag(rtp_session, SWITCH_RTP_FLAG_STICKY_FLUSH)) &&
rtp_session->read_pollfd) { rtp_session->read_pollfd) {
if (switch_poll(rtp_session->read_pollfd, 1, &fdr, 1) == SWITCH_STATUS_SUCCESS) { if (switch_poll(rtp_session->read_pollfd, 1, &fdr, 1) == SWITCH_STATUS_SUCCESS) {
if (++rtp_session->hot_hits >= 5) { if (++rtp_session->hot_hits >= 10) {
hot_socket = 1; hot_socket = 1;
rtp_session->hot_hits = 0;
} }
} else { } else {
rtp_session->hot_hits = 0; rtp_session->hot_hits = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论