video refresh floor holder on conference join

This commit is contained in:
Anthony Minessale 2014-03-31 22:39:46 +05:00
parent 1e51e86845
commit 107c5eccc3

View File

@ -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")) {