mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
change log levels to debug
This commit is contained in:
parent
978c4c9367
commit
b1a5efcbe8
@ -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
|
|||||||
|
|
||||||
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)
|
|||||||
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)
|
|||||||
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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user