mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-25 08:22:49 +00:00
running out of bugs to fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7938 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9ed0da04b5
commit
c735b019d8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user