提交 49c1dc41 authored 作者: Brian West's avatar Brian West

mod_shout: bring media back so telecast of a no-media call will work. (MODFORM-28)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13895 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f618475c
...@@ -1252,7 +1252,10 @@ void do_telecast(switch_stream_handle_t *stream) ...@@ -1252,7 +1252,10 @@ void do_telecast(switch_stream_handle_t *stream)
switch_codec_implementation_t read_impl = {0}; switch_codec_implementation_t read_impl = {0};
switch_core_session_get_read_impl(tsession, &read_impl); switch_core_session_get_read_impl(tsession, &read_impl);
if (switch_channel_test_flag(channel, CF_PROXY_MODE)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Stepping into media path so this will work!\n");
switch_ivr_media(uuid, SMF_REBRIDGE);
}
if (!(gfp = lame_init())) { if (!(gfp = lame_init())) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not allocate lame\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not allocate lame\n");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论