mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-7800 disable video floor changes on multi canvas
This commit is contained in:
parent
c11c2832e4
commit
72e3462118
@ -2407,7 +2407,7 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
|
||||
}
|
||||
|
||||
//VIDFLOOR
|
||||
if (canvas->layout_floor_id > -1 && imember->id == conference->video_floor_holder &&
|
||||
if (conference->canvas_count == 1 && canvas->layout_floor_id > -1 && imember->id == conference->video_floor_holder &&
|
||||
imember->video_layer_id != canvas->layout_floor_id) {
|
||||
conference_video_attach_video_layer(imember, canvas, canvas->layout_floor_id);
|
||||
}
|
||||
@ -3464,6 +3464,10 @@ void conference_video_set_floor_holder(conference_obj_t *conference, conference_
|
||||
conference_utils_clear_flag(conference, CFLAG_VID_FLOOR_LOCK);
|
||||
}
|
||||
|
||||
if (conference->canvas_count > 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (member && member->video_reservation_id) {
|
||||
/* no video floor when a reservation id is set */
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user