ソースを参照

Fixes the options object used.

master
Boris Grozev 9年前
コミット
c87e341872
1個のファイルの変更4行の追加4行の削除
  1. 4
    4
      modules/xmpp/moderator.js

+ 4
- 4
modules/xmpp/moderator.js ファイルの表示

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) {

読み込み中…
キャンセル
保存