]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
skypiax: do the audio timers synch each 20secs
authorGiovanni Maruzzelli <gmaruzz@gmail.com>
Tue, 23 Feb 2010 12:26:03 +0000 (12:26 +0000)
committerGiovanni Maruzzelli <gmaruzz@gmail.com>
Tue, 23 Feb 2010 12:26:03 +0000 (12:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16730 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_skypiax/skypiax_protocol.c

index c8b22516376e860af4480085a6b78d0102d73c66..2f6e71fe57bae25427814fee6a759b44f1622fe5 100644 (file)
@@ -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);