Selaa lähdekoodia

Fixes the options object used.

dev1
Boris Grozev 9 vuotta sitten
vanhempi
commit
c87e341872
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4
    4
      modules/xmpp/moderator.js

+ 4
- 4
modules/xmpp/moderator.js Näytä tiedosto

@@ -182,18 +182,18 @@ Moderator.prototype.createConferenceIq =  function () {
182 182
                 value: true
183 183
             }).up();
184 184
     //}
185
-    if (options.startBitrate) {
185
+    if (this.options.conference.startBitrate) {
186 186
         elem.c(
187 187
             'property', {
188 188
                 name: 'startBitrate',
189
-                value: options.startBitrate
189
+                value: this.options.conference.startBitrate
190 190
             }).up();
191 191
     }
192
-    if (options.minBitrate) {
192
+    if (this.options.conference.minBitrate) {
193 193
         elem.c(
194 194
             'property', {
195 195
                 name: 'minBitrate',
196
-                value: options.minBitrate
196
+                value: this.options.conference.minBitrate
197 197
             }).up();
198 198
     }
199 199
     if (this.options.conference.openSctp !== undefined) {

Loading…
Peruuta
Tallenna