don't reset when video floor is locked
when video floor is locked by a member, changing audio floor on del_member will cause the video floor lock cleared unexpectedly, this commit fixes that.
This commit is contained in:
parent
04269fdf19
commit
f78007766b
|
@ -2531,7 +2531,7 @@ static void conference_set_floor_holder(conference_obj_t *conference, conference
|
|||
int old_id = 0;
|
||||
|
||||
if (!switch_test_flag(conference, CFLAG_VIDEO_BRIDGE) &&
|
||||
((conference->video_floor_holder && !member) ||
|
||||
((conference->video_floor_holder && !member && !switch_test_flag(conference, CFLAG_VID_FLOOR_LOCK)) ||
|
||||
(member && member->channel && switch_channel_test_flag(member->channel, CF_VIDEO)))) {
|
||||
conference_set_video_floor_holder(conference, member, SWITCH_FALSE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue