mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-27 01:04:01 +00:00
skypiax: removed debugging with invis
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16822 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8102752fd3
commit
60e8100b48
@ -877,7 +877,7 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
|
||||
|
||||
switch_mutex_lock(tech_pvt->mutex_audio_cli);
|
||||
if(switch_buffer_freespace(tech_pvt->write_buffer) < frame->datalen){
|
||||
WARNINGA("NO SPACE WRITE: %d\n", SKYPIAX_P_LOG, frame->datalen);
|
||||
//WARNINGA("NO SPACE WRITE: %d\n", SKYPIAX_P_LOG, frame->datalen);
|
||||
switch_buffer_toss(tech_pvt->write_buffer, frame->datalen);
|
||||
}
|
||||
switch_buffer_write(tech_pvt->write_buffer, frame->data, frame->datalen);
|
||||
|
@ -869,7 +869,7 @@ void *skypiax_do_tcp_srv_thread_func(void *obj)
|
||||
switch_buffer_write(tech_pvt->read_buffer, srv_in, len);
|
||||
switch_mutex_unlock(tech_pvt->mutex_audio_srv);
|
||||
if(nospace){
|
||||
WARNINGA("NO SPACE READ: there was no space for: %d\n", SKYPIAX_P_LOG, len);
|
||||
//WARNINGA("NO SPACE READ: there was no space for: %d\n", SKYPIAX_P_LOG, len);
|
||||
}
|
||||
} else if (len == 0) {
|
||||
DEBUGA_SKYPE("CLOSED\n", SKYPIAX_P_LOG);
|
||||
|
Loading…
x
Reference in New Issue
Block a user