]> 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:36 +0000 (11:35 -0500)
src/mod/applications/mod_conference/conference_video.c

index b3a5fb9d5516f230dec7a3f8601e88eb2147db73..1994ec08f9a337ac38f7549340ee140f0a3c74e8 100644 (file)
@@ -4602,6 +4602,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);