提交 0534d8e9 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix conference record race

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10723 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 351a3c4a
......@@ -885,6 +885,12 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
switch_mutex_unlock(globals.hash_mutex);
if (conference->auto_record) {
uint32_t sanity = 100;
while (!conference->members && --sanity) {
switch_yield(100000);
}
imember = conference->members;
if (imember) {
switch_channel_t *channel = switch_core_session_get_channel(imember->session);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论