瀏覽代碼

Adds a stereo option.

master
Boris Grozev 9 年之前
父節點
當前提交
a4c62bac8d
共有 1 個檔案被更改,包括 9 行新增4 行删除
  1. 9
    4
      modules/xmpp/moderator.js

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

203
                 value: this.options.conference.openSctp
203
                 value: this.options.conference.openSctp
204
             }).up();
204
             }).up();
205
     }
205
     }
206
-    if (this.options.conference.startAudioMuted !== undefined)
207
-    {
206
+    if (this.options.conference.startAudioMuted !== undefined) {
208
         elem.c(
207
         elem.c(
209
             'property', {
208
             'property', {
210
                 name: 'startAudioMuted',
209
                 name: 'startAudioMuted',
211
                 value: this.options.conference.startAudioMuted
210
                 value: this.options.conference.startAudioMuted
212
             }).up();
211
             }).up();
213
     }
212
     }
214
-    if (this.options.conference.startVideoMuted !== undefined)
215
-    {
213
+    if (this.options.conference.startVideoMuted !== undefined) {
216
         elem.c(
214
         elem.c(
217
             'property', {
215
             'property', {
218
                 name: 'startVideoMuted',
216
                 name: 'startVideoMuted',
219
                 value: this.options.conference.startVideoMuted
217
                 value: this.options.conference.startVideoMuted
220
             }).up();
218
             }).up();
221
     }
219
     }
220
+    if (this.options.conference.stereo !== undefined) {
221
+        elem.c(
222
+            'property', {
223
+                name: 'stereo',
224
+                value: this.options.conference.stereo
225
+            }).up();
226
+    }
222
 
227
 
223
     elem.c(
228
     elem.c(
224
         'property', {
229
         'property', {

Loading…
取消
儲存