mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-9314: [mod_conference] fix crash when starting conference in mux mode while specifying or defaulting to a layout group that does not exist. We will now fall back to transcode mode in this case.
This commit is contained in:
parent
e3d3daef6a
commit
a6b4934ea8
@ -1354,6 +1354,10 @@ video_layout_t *conference_video_find_best_layout(conference_obj_t *conference,
|
||||
}
|
||||
}
|
||||
|
||||
if (!lg) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
for (vlnode = lg->layouts; vlnode; vlnode = vlnode->next) {
|
||||
if (vlnode->vlayout->layers >= (int)count) {
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user