提交 b2157456 authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

skypiax: do the audio timers synch each 20secs

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16730 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3cc72e25
......@@ -505,7 +505,7 @@ int skypiax_signaling_read(private_t * tech_pvt)
DEBUGA_SKYPE("Skype FAILED on skype_call %s. Let's wait for the FAILED message.\n", SKYPIAX_P_LOG, id);
}
if (!strcasecmp(prop, "DURATION")) { /* each second, we sync ithe timers */
if(!((atoi(value) % 5))){
if(!((atoi(value) % 20))){
switch_core_timer_sync(&tech_pvt->timer_read);
switch_core_timer_sync(&tech_pvt->timer_write);
DEBUGA_SKYPE("Synching on skype_call: %s.\n", SKYPIAX_P_LOG, id);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论