mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
video refresh floor holder on conference join
This commit is contained in:
parent
1e51e86845
commit
107c5eccc3
@ -1839,6 +1839,14 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe
|
||||
}
|
||||
/* Tell the channel to request a fresh vid frame */
|
||||
switch_core_session_refresh_video(member->session);
|
||||
|
||||
if (conference->video_floor_holder) {
|
||||
switch_mutex_lock(conference->mutex);
|
||||
if (conference->video_floor_holder) {
|
||||
switch_core_session_refresh_video(conference->video_floor_holder->session);
|
||||
}
|
||||
switch_mutex_unlock(conference->mutex);
|
||||
}
|
||||
}
|
||||
|
||||
if (!switch_channel_get_variable(channel, "conference_call_key")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user