提交 20e370aa authored 作者: Seven Du's avatar Seven Du 提交者: Mike Jerris

FS-11573 fix seg when missing conference layout config

上级 a255bd3d
...@@ -2031,6 +2031,8 @@ video_layout_t *conference_video_get_layout(conference_obj_t *conference, const ...@@ -2031,6 +2031,8 @@ video_layout_t *conference_video_get_layout(conference_obj_t *conference, const
layout_group_t *lg = NULL; layout_group_t *lg = NULL;
video_layout_t *vlayout = NULL; video_layout_t *vlayout = NULL;
if (!video_layout_name) return NULL;
if (video_layout_group) { if (video_layout_group) {
lg = switch_core_hash_find(conference->layout_group_hash, video_layout_group); lg = switch_core_hash_find(conference->layout_group_hash, video_layout_group);
vlayout = conference_video_find_best_layout(conference, lg, 0, 0); vlayout = conference_video_find_best_layout(conference, lg, 0, 0);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论