FS-8527 [mod_conference] Do not send the video of last_video_floor_holder to video_floor_holder if already related one video to it.
This commit is contained in:
parent
ff283f60de
commit
acecda7596
|
@ -3468,7 +3468,8 @@ switch_status_t conference_video_thread_callback(switch_core_session_t *session,
|
|||
conference_member_t *fmember;
|
||||
|
||||
if ((fmember = conference_member_get(member->conference, member->conference->video_floor_holder))) {
|
||||
switch_core_session_write_video_frame(fmember->session, frame, SWITCH_IO_FLAG_NONE, 0);
|
||||
if (!conference_utils_member_test_flag(fmember, MFLAG_RECEIVING_VIDEO))
|
||||
switch_core_session_write_video_frame(fmember->session, frame, SWITCH_IO_FLAG_NONE, 0);
|
||||
switch_thread_rwlock_unlock(fmember->rwlock);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue