mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-10 06:38:00 +00:00
FS-8545 do not allow video floor on a member with a reservation id set
This commit is contained in:
parent
420a78afc4
commit
fb8d4a2b99
@ -3218,6 +3218,11 @@ void conference_video_set_floor_holder(conference_obj_t *conference, conference_
|
|||||||
conference_utils_clear_flag(conference, CFLAG_VID_FLOOR_LOCK);
|
conference_utils_clear_flag(conference, CFLAG_VID_FLOOR_LOCK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (member && member->video_reservation_id) {
|
||||||
|
/* no video floor when a reservation id is set */
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ((!force && conference_utils_test_flag(conference, CFLAG_VID_FLOOR_LOCK))) {
|
if ((!force && conference_utils_test_flag(conference, CFLAG_VID_FLOOR_LOCK))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user