提交 4ee46554 authored 作者: Anthony Minessale's avatar Anthony Minessale

add option for bridge to generate comfort noise to the A leg when there is no audio on the B leg

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9544 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 84c8eb4d
...@@ -170,7 +170,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj) ...@@ -170,7 +170,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
silence_val = 0; silence_val = 0;
} else { } else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Setup generated silence at %d\n", silence_val); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Setup generated silence from %s to %s at %d\n", switch_channel_get_name(chan_a), switch_channel_get_name(chan_b), silence_val);
silence_frame.codec = &silence_codec; silence_frame.codec = &silence_codec;
silence_frame.data = silence_data; silence_frame.data = silence_data;
silence_frame.buflen = sizeof(silence_data); silence_frame.buflen = sizeof(silence_data);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论