浏览代码

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

feat: enableTcc, enableRemb, minParticipants.
dev1
George Politis 7 年前
父节点
当前提交
d823af733b
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 23 次插入0 次删除
  1. 23
    0
      modules/xmpp/moderator.js

+ 23
- 0
modules/xmpp/moderator.js 查看文件

@@ -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',

正在加载...
取消
保存