提交 b1ba9266 authored 作者: Brian West's avatar Brian West

fix logging in debug def

上级 e22ce3e6
...@@ -4409,7 +4409,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session, ...@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论