FS-9483 #resolve [mod_conference missing keyframe after reinvite]
This commit is contained in:
parent
5ecde9478a
commit
5a4058df8a
|
@ -711,6 +711,7 @@ void *SWITCH_THREAD_FUNC conference_loop_input(switch_thread_t *thread, void *ob
|
|||
conference_video_check_avatar(member, SWITCH_FALSE);
|
||||
switch_core_session_video_reinit(member->session);
|
||||
conference_video_set_floor_holder(member->conference, member, SWITCH_FALSE);
|
||||
switch_core_session_request_video_refresh(member->session);
|
||||
} else if (conference_utils_member_test_flag(member, MFLAG_ACK_VIDEO) && !switch_channel_test_flag(channel, CF_VIDEO)) {
|
||||
conference_video_check_avatar(member, SWITCH_FALSE);
|
||||
}
|
||||
|
|
|
@ -1731,6 +1731,7 @@ void conference_video_check_avatar(conference_member_t *member, switch_bool_t fo
|
|||
if (!force && switch_channel_test_flag(member->channel, CF_VIDEO_READY) &&
|
||||
switch_core_session_media_flow(member->session, SWITCH_MEDIA_TYPE_VIDEO) != SWITCH_MEDIA_FLOW_SENDONLY && switch_core_session_media_flow(member->session, SWITCH_MEDIA_TYPE_VIDEO) != SWITCH_MEDIA_FLOW_INACTIVE) {
|
||||
conference_utils_member_set_flag_locked(member, MFLAG_ACK_VIDEO);
|
||||
switch_core_session_request_video_refresh(member->session);
|
||||
} else {
|
||||
if (member->conference->no_video_avatar) {
|
||||
avatar = member->conference->no_video_avatar;
|
||||
|
|
Loading…
Reference in New Issue