mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-05 04:35:46 +00:00
FS-3869 --resolve
This commit is contained in:
parent
a72fb34f92
commit
ee3e450425
@ -1257,7 +1257,8 @@ static void *SWITCH_THREAD_FUNC conference_video_thread_run(switch_thread_t *thr
|
|||||||
}
|
}
|
||||||
|
|
||||||
session = conference->floor_holder->session;
|
session = conference->floor_holder->session;
|
||||||
switch_core_session_read_lock(session);
|
|
||||||
|
if ((status = switch_core_session_read_lock(session)) == SWITCH_STATUS_SUCCESS) {
|
||||||
switch_mutex_unlock(conference->mutex);
|
switch_mutex_unlock(conference->mutex);
|
||||||
if (!switch_channel_ready(switch_core_session_get_channel(session))) {
|
if (!switch_channel_ready(switch_core_session_get_channel(session))) {
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
@ -1266,6 +1267,7 @@ static void *SWITCH_THREAD_FUNC conference_video_thread_run(switch_thread_t *thr
|
|||||||
}
|
}
|
||||||
switch_mutex_lock(conference->mutex);
|
switch_mutex_lock(conference->mutex);
|
||||||
switch_core_session_rwunlock(session);
|
switch_core_session_rwunlock(session);
|
||||||
|
}
|
||||||
|
|
||||||
if (!SWITCH_READ_ACCEPTABLE(status)) {
|
if (!SWITCH_READ_ACCEPTABLE(status)) {
|
||||||
yield = 100000;
|
yield = 100000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user