Browse Source

Merge pull request #730 from jitsi/tcc-remb-min-participants

feat: enableTcc, enableRemb, minParticipants.
dev1
George Politis 7 years ago
parent
commit
d823af733b
No account linked to committer's email address
1 changed files with 23 additions and 0 deletions
  1. 23
    0
      modules/xmpp/moderator.js

+ 23
- 0
modules/xmpp/moderator.js View File

@@ -188,6 +188,29 @@ Moderator.prototype.createConferenceIq = function() {
188 188
             name: 'disableRtx',
189 189
             value: Boolean(this.options.conference.disableRtx)
190 190
         }).up();
191
+
192
+    if (this.options.conference.enableTcc !== undefined) {
193
+        elem.c(
194
+                'property', {
195
+                    name: 'enableTcc',
196
+                    value: Boolean(this.options.conference.enableTcc)
197
+                }).up();
198
+    }
199
+    if (this.options.conference.enableRemb !== undefined) {
200
+        elem.c(
201
+                'property', {
202
+                    name: 'enableRemb',
203
+                    value: Boolean(this.options.conference.enableRemb)
204
+                }).up();
205
+    }
206
+    if (this.options.conference.minParticipants !== undefined) {
207
+        elem.c(
208
+                'property', {
209
+                    name: 'minParticipants',
210
+                    value: this.options.conference.minParticipants
211
+                }).up();
212
+    }
213
+
191 214
     elem.c(
192 215
         'property', {
193 216
             name: 'enableLipSync',

Loading…
Cancel
Save