if (imember->video_codec_index < 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Write Codec Error\n");
+ switch_core_session_rwunlock(imember->session);
continue;
}
}
}
if (switch_channel_ready(channel) && switch_channel_test_flag(channel, CF_VIDEO)) {
- if (conference->video_layout_name && !conference->video_muxing_thread) {
- launch_conference_video_muxing_thread(conference);
- }
members_with_video++;
}
switch_core_hash_insert(globals.conference_hash, conference->name, conference);
switch_mutex_unlock(globals.hash_mutex);
+ if (conference->video_layout_name && !conference->video_muxing_thread) {
+ launch_conference_video_muxing_thread(conference);
+ }
+
end:
switch_mutex_unlock(globals.hash_mutex);