Browse Source

Merge pull request #79 from bgrozev/fix-options-object

Fixes the options object used.
master
George Politis 9 years ago
parent
commit
7425a91a89
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      modules/xmpp/moderator.js

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

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…
Cancel
Save