From: Giovanni Maruzzelli Date: Tue, 23 Feb 2010 12:26:03 +0000 (+0000) Subject: skypiax: do the audio timers synch each 20secs X-Git-Tag: v1.0.6~401 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2157456f56612aa937c7e0456846b15afa353ce;p=thirdparty%2Ffreeswitch.git skypiax: do the audio timers synch each 20secs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16730 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c index c8b2251637..2f6e71fe57 100644 --- a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c +++ b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c @@ -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);