forked from Mirrors/freeswitch
fix logging in debug def
This commit is contained in:
parent
e22ce3e611
commit
b1ba926640
|
@ -4409,7 +4409,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
|
||||||
#ifdef RTP_DEBUG_WRITE_DELTA
|
#ifdef RTP_DEBUG_WRITE_DELTA
|
||||||
{
|
{
|
||||||
int delta = (int) (now - rtp_session->send_time) / 1000;
|
int delta = (int) (now - rtp_session->send_time) / 1000;
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "WRITE %d delta %d\n", (int) bytes, delta);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "WRITE %d delta %d\n", (int) bytes, delta);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
rtp_session->send_time = now;
|
rtp_session->send_time = now;
|
||||||
|
|
Loading…
Reference in New Issue