git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4720 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-03-21 21:23:40 +00:00
1 parent dc205ae219
commit 9bacb04df9
3 files changed
+16 -16

No files matched your search

+2 -3
View File
@@ -2048,9 +2048,8 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
switch_channel_answer(chan_a);
ans_a++;
} else if (!pre_b && switch_channel_test_flag(chan_b, CF_EARLY_MEDIA)) {
if (switch_channel_pre_answer(chan_a) == SWITCH_STATUS_SUCCESS) {
pre_b++;
}
switch_channel_pre_answer(chan_a);
pre_b++;
}
if (!pre_b) {
switch_yield(10000);