]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10448: [mod_conference] Add Video Blind -- make blind video feature work in passth...
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 7 Jul 2017 16:35:36 +0000 (11:35 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 7 Jul 2017 16:35:56 +0000 (11:35 -0500)
src/mod/applications/mod_conference/conference_video.c

index 548a60b94adac39e0cd3a8c8d5468936266b56f4..f92343ddfc09e67aea20d4634b2827d21656e15c 100644 (file)
@@ -3907,6 +3907,10 @@ void conference_video_write_frame(conference_obj_t *conference, conference_membe
                        continue;
                }
 
+               if (!conference_utils_member_test_flag(imember, MFLAG_CAN_SEE)) {
+                       continue;
+               }
+
                if (switch_channel_test_flag(imember->channel, CF_VIDEO_REFRESH_REQ)) {
                        want_refresh++;
                        switch_channel_clear_flag(imember->channel, CF_VIDEO_REFRESH_REQ);