Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/mod_skypiax.c (16549 => 16550)
--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/mod_skypiax.c 2010-02-02 05:47:01 UTC (rev 16549)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/mod_skypiax.c 2010-02-02 09:33:23 UTC (rev 16550)
@@ -691,7 +691,7 @@
tech_pvt->read_frame.flags = SFF_NONE;
*frame = NULL;
- switch_core_timer_next(&tech_pvt->timer_read);
+ //switch_core_timer_next(&tech_pvt->timer_read);
if (!skypiax_audio_read(tech_pvt)) {
@@ -719,6 +719,7 @@
DEBUGA_SKYPE("CHANNEL READ CONTINUE\n", SKYPIAX_P_LOG);
continue;
}
+ switch_core_timer_check(&tech_pvt->timer_read, SWITCH_TRUE);
*frame = &tech_pvt->read_frame;
#if SWITCH_BYTE_ORDER == __BIG_ENDIAN
if (switch_test_flag(tech_pvt, TFLAG_LINEAR)) {
Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c (16549 => 16550)
--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c 2010-02-02 05:47:01 UTC (rev 16549)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c 2010-02-02 09:33:23 UTC (rev 16550)
@@ -1101,7 +1101,7 @@
/* send the 16khz frame to the Skype client waiting for incoming audio to be sent to the remote party */
if (tech_pvt->skype_callflow != CALLFLOW_STATUS_REMOTEHOLD) {
len = send(fd, (char *) cli_out, got, 0);
- skypiax_sleep(5000); //5 msec
+ //skypiax_sleep(5000); //5 msec
if (len == -1) {
break;