提交 25914981 authored 作者: Raul Fragoso's avatar Raul Fragoso

removed the (unnecessary) check for the VOICE flag when reading frames

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk/contrib@13962 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0431e4ff
......@@ -364,8 +364,8 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
return SWITCH_STATUS_FALSE;
}
if (switch_test_flag(tech_pvt, TFLAG_IO) && switch_test_flag(tech_pvt, TFLAG_VOICE)) {
switch_clear_flag_locked(tech_pvt, TFLAG_VOICE);
//if (switch_test_flag(tech_pvt, TFLAG_IO) && switch_test_flag(tech_pvt, TFLAG_VOICE)) {
// switch_clear_flag_locked(tech_pvt, TFLAG_VOICE);
if (!tech_pvt->read_frame.datalen) {
continue;
}
......@@ -376,7 +376,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
}
#endif
return SWITCH_STATUS_SUCCESS;
}
//}
switch_cond_next();
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论