diff --git a/src/mod/endpoints/mod_skypiax/mod_skypiax.c b/src/mod/endpoints/mod_skypiax/mod_skypiax.c index 927d02797b..f3ba964967 100644 --- a/src/mod/endpoints/mod_skypiax/mod_skypiax.c +++ b/src/mod/endpoints/mod_skypiax/mod_skypiax.c @@ -691,7 +691,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch 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 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch 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)) { diff --git a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c index 2c199279f0..6c500d847f 100644 --- a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c +++ b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c @@ -1101,7 +1101,7 @@ void *skypiax_do_tcp_cli_thread_func(void *obj) /* 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;