Browse Source

Adds a stereo option.

master
Boris Grozev 9 years ago
parent
commit
a4c62bac8d
1 changed files with 9 additions and 4 deletions
  1. 9
    4
      modules/xmpp/moderator.js

+ 9
- 4
modules/xmpp/moderator.js View File

@@ -203,22 +203,27 @@ Moderator.prototype.createConferenceIq =  function () {
203 203
                 value: this.options.conference.openSctp
204 204
             }).up();
205 205
     }
206
-    if (this.options.conference.startAudioMuted !== undefined)
207
-    {
206
+    if (this.options.conference.startAudioMuted !== undefined) {
208 207
         elem.c(
209 208
             'property', {
210 209
                 name: 'startAudioMuted',
211 210
                 value: this.options.conference.startAudioMuted
212 211
             }).up();
213 212
     }
214
-    if (this.options.conference.startVideoMuted !== undefined)
215
-    {
213
+    if (this.options.conference.startVideoMuted !== undefined) {
216 214
         elem.c(
217 215
             'property', {
218 216
                 name: 'startVideoMuted',
219 217
                 value: this.options.conference.startVideoMuted
220 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 228
     elem.c(
224 229
         'property', {

Loading…
Cancel
Save