提交 b1a5efcb authored 作者: Michael Jerris's avatar Michael Jerris

change log levels to debug

上级 978c4c93
...@@ -1366,7 +1366,7 @@ static switch_status_t av_file_open(switch_file_handle_t *handle, const char *pa ...@@ -1366,7 +1366,7 @@ static switch_status_t av_file_open(switch_file_handle_t *handle, const char *pa
switch_mutex_init(&context->mutex, SWITCH_MUTEX_NESTED, handle->memory_pool); switch_mutex_init(&context->mutex, SWITCH_MUTEX_NESTED, handle->memory_pool);
switch_core_timer_init(&context->timer, "soft", 1, 1000, context->pool); switch_core_timer_init(&context->timer, "soft", 1, 1000, context->pool);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "init timer\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "init timer\n");
switch_buffer_create_dynamic(&context->audio_buffer, 512, 512, 0); switch_buffer_create_dynamic(&context->audio_buffer, 512, 512, 0);
...@@ -1476,7 +1476,7 @@ static switch_status_t av_file_open(switch_file_handle_t *handle, const char *pa ...@@ -1476,7 +1476,7 @@ static switch_status_t av_file_open(switch_file_handle_t *handle, const char *pa
desc = avcodec_descriptor_get(fmt->video_codec); desc = avcodec_descriptor_get(fmt->video_codec);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "use video codec: [%d] %s (%s)\n", fmt->video_codec, desc->name, desc->long_name); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "use video codec: [%d] %s (%s)\n", fmt->video_codec, desc->name, desc->long_name);
} }
if (fmt->audio_codec != AV_CODEC_ID_NONE) { if (fmt->audio_codec != AV_CODEC_ID_NONE) {
......
...@@ -1986,7 +1986,7 @@ static void check_jb_sync(switch_core_session_t *session) ...@@ -1986,7 +1986,7 @@ static void check_jb_sync(switch_core_session_t *session)
jb_sync_msec, frames, fps); jb_sync_msec, frames, fps);
} else { } else {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),
SWITCH_LOG_INFO, "%s Sync Audio and Video Jitterbuffer to %dms %u Video Frames FPS %u\n", SWITCH_LOG_DEBUG, "%s Sync Audio and Video Jitterbuffer to %dms %u Video Frames FPS %u\n",
switch_channel_get_name(session->channel), switch_channel_get_name(session->channel),
jb_sync_msec, frames, fps); jb_sync_msec, frames, fps);
......
...@@ -1800,7 +1800,7 @@ static int rtcp_stats(switch_rtp_t *rtp_session) ...@@ -1800,7 +1800,7 @@ static int rtcp_stats(switch_rtp_t *rtp_session)
if (seq_diff < MAX_DROPOUT) { /* in order, with permissible gap */ if (seq_diff < MAX_DROPOUT) { /* in order, with permissible gap */
if (pkt_seq < max_seq) { if (pkt_seq < max_seq) {
stats->cycle++; stats->cycle++;
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "rtcp_stats:[cycle change] pkt_seq[%d] cycle[%d] max_seq[%d] stats_ssrc[%u] local_ts[%u]\n", switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "rtcp_stats:[cycle change] pkt_seq[%d] cycle[%d] max_seq[%d] stats_ssrc[%u] local_ts[%u]\n",
pkt_seq, stats->cycle, max_seq, stats->ssrc, rtp_session->timer.samplecount); pkt_seq, stats->cycle, max_seq, stats->ssrc, rtp_session->timer.samplecount);
} }
pkt_extended_seq = stats->cycle << 16 | pkt_seq; /* getting the extended packet extended sequence ID */ pkt_extended_seq = stats->cycle << 16 | pkt_seq; /* getting the extended packet extended sequence ID */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论