mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-06 04:45:30 +00:00
FS-10802: [mod_conference] Convert conference floor to id based
This commit is contained in:
parent
ba5f0d0b28
commit
9a8cbf7797
@ -1353,6 +1353,10 @@ switch_status_t conference_video_attach_video_layer(conference_member_t *member,
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
if (!zstr(member->video_role_id) && !zstr(layer->geometry.role_id) && !strcmp(layer->geometry.role_id, member->video_role_id)) {
|
||||
conference_utils_member_set_flag(member, MFLAG_DED_VID_LAYER);
|
||||
}
|
||||
|
||||
if (conference_utils_member_test_flag(member, MFLAG_DED_VID_LAYER)) {
|
||||
if (member->id == member->conference->floor_holder) {
|
||||
conference_member_set_floor_holder(member->conference, NULL, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user