mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-08 05:54:45 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8312 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e446e314ec
commit
fc47e3e550
@ -161,11 +161,7 @@ static void *audio_bridge_thread(switch_thread_t * thread, void *obj)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!nosuspend && (switch_channel_test_flag(chan_a, CF_SUSPEND) || switch_channel_test_flag(chan_b, CF_SUSPEND))) {
|
if (!nosuspend && (switch_channel_test_flag(chan_a, CF_SUSPEND) || switch_channel_test_flag(chan_b, CF_SUSPEND))) {
|
||||||
if (switch_channel_test_flag(chan_a, CF_SUSPEND)) {
|
|
||||||
status = SWITCH_STATUS_SUCCESS;
|
|
||||||
} else {
|
|
||||||
status = switch_core_session_read_frame(session_a, &read_frame, SWITCH_IO_FLAG_NONE, stream_id);
|
status = switch_core_session_read_frame(session_a, &read_frame, SWITCH_IO_FLAG_NONE, stream_id);
|
||||||
}
|
|
||||||
|
|
||||||
if (!SWITCH_READ_ACCEPTABLE(status)) {
|
if (!SWITCH_READ_ACCEPTABLE(status)) {
|
||||||
goto end_of_bridge_loop;
|
goto end_of_bridge_loop;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user