FS-10160 [mod_conference] fix segfault when using video-mode=mux

This commit is contained in:
Antonio 2017-03-21 14:35:51 +01:00
parent 9837aa936b
commit 2ec5ffb5f5
1 changed files with 4 additions and 0 deletions

View File

@ -576,6 +576,10 @@ void conference_event_adv_layout(conference_obj_t *conference, mcu_canvas_t *can
cJSON *msg, *data, *obj;
int i = 0;
if (!conference->info_event_channel) {
return;
}
msg = cJSON_CreateObject();
data = json_add_child_obj(msg, "eventData", NULL);