Explorar el Código

Fixes the options object used.

dev1
Boris Grozev hace 9 años
padre
commit
c87e341872
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4
    4
      modules/xmpp/moderator.js

+ 4
- 4
modules/xmpp/moderator.js Ver fichero

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

Loading…
Cancelar
Guardar