浏览代码

fix(moderator): use 'enableLipSync' from the connection options

Because the flag is required in the connection options anyway it will
be better to use it from one options set only to avoid redundancy.
dev1
paweldomas 8 年前
父节点
当前提交
6eeefd2ca8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      modules/xmpp/moderator.js

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

174
                 value: true
174
                 value: true
175
             }).up();
175
             }).up();
176
     //}
176
     //}
177
-    if (this.options.conference.enableLipSync !== undefined) {
177
+    if (this.options.connection.enableLipSync !== undefined) {
178
         elem.c(
178
         elem.c(
179
             'property', {
179
             'property', {
180
                 name: 'enableLipSync',
180
                 name: 'enableLipSync',
181
-                value: this.options.conference.enableLipSync
181
+                value: this.options.connection.enableLipSync
182
             }).up();
182
             }).up();
183
     }
183
     }
184
     if (this.options.conference.audioPacketDelay !== undefined) {
184
     if (this.options.conference.audioPacketDelay !== undefined) {

正在加载...
取消
保存