提交 c735b019 authored 作者: Anthony Minessale's avatar Anthony Minessale

running out of bugs to fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7938 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9ed0da04
......@@ -157,10 +157,15 @@ static void *audio_bridge_thread(switch_thread_t * thread, void *obj)
msg.message_id = SWITCH_MESSAGE_INDICATE_BRIDGE;
switch_core_session_receive_message(session_a, &msg);
switch_channel_clear_flag(chan_b, CF_SUSPEND);
switch_core_session_kill_channel(session_b, SWITCH_SIG_BREAK);
}
if (!nosuspend && (switch_channel_test_flag(chan_a, CF_SUSPEND) || switch_channel_test_flag(chan_b, CF_SUSPEND))) {
switch_yield(10000);
status = switch_core_session_read_frame(session_a, &read_frame, -1, stream_id);
if (!SWITCH_READ_ACCEPTABLE(status)) {
goto end_of_bridge_loop;
}
continue;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论