]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add vmute member flag to mod_conference.
authorChad Phillips <chad@apartmentlines.com>
Wed, 15 Jul 2015 20:00:12 +0000 (13:00 -0700)
committerChad Phillips <chad@apartmentlines.com>
Wed, 15 Jul 2015 20:00:12 +0000 (13:00 -0700)
A 'vmute' flag can be applied to individual conferees when entering the
conference. When the flag is passed, conferees will enter the conference
with their video muted.

FS-7813 #resolve

src/mod/applications/mod_conference/mod_conference.c

index fefe136d25ca31aa496ec414d360426757df2cd9..0077d3c6ba7919429d068f1aed33ca2ca31d5221 100644 (file)
@@ -12789,6 +12789,8 @@ static void set_mflags(const char *flags, member_flag_t *f)
                        if (!strcasecmp(argv[i], "mute")) {
                                f[MFLAG_CAN_SPEAK] = 0;
                                f[MFLAG_TALKING] = 0;
+                       } else if (!strcasecmp(argv[i], "vmute")) {
+                               f[MFLAG_CAN_BE_SEEN] = 0;
                        } else if (!strcasecmp(argv[i], "deaf")) {
                                f[MFLAG_CAN_HEAR] = 0;
                        } else if (!strcasecmp(argv[i], "mute-detect")) {