]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_conference] handle personal canvas with vmuted member
authorHenrique <hdiniz@users.noreply.github.com>
Tue, 28 Mar 2023 13:53:16 +0000 (10:53 -0300)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2023 13:53:16 +0000 (16:53 +0300)
src/mod/applications/mod_conference/conference_video.c

index e94b835c3d9405bdade5221636e45dfaefe550a0..910560518590dd5a498810a97a94d5ac7a6fc039 100644 (file)
@@ -3803,6 +3803,7 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
                                        switch_image_t *use_img = NULL;
 
                                        if (!omember->session || !switch_channel_test_flag(omember->channel, CF_VIDEO_READY) ||
+                                               (conference_utils_test_flag(omember->conference, CFLAG_VIDEO_MUTE_EXIT_CANVAS) && !conference_utils_member_test_flag(omember, MFLAG_CAN_BE_SEEN)) ||
                                                switch_core_session_media_flow(omember->session, SWITCH_MEDIA_TYPE_VIDEO) == SWITCH_MEDIA_FLOW_SENDONLY || switch_core_session_media_flow(omember->session, SWITCH_MEDIA_TYPE_VIDEO) == SWITCH_MEDIA_FLOW_INACTIVE) {
                                                continue;
                                        }