瀏覽代碼

Adds the displayName if available to the conference options on create.

master
damencho 8 年之前
父節點
當前提交
654c5c44f4
共有 2 個檔案被更改,包括 13 行新增0 行删除
  1. 6
    0
      conference.js
  2. 7
    0
      config.js

+ 6
- 0
conference.js 查看文件

@@ -1291,6 +1291,12 @@ export default {
1291 1291
                     : 'colibri';
1292 1292
         }
1293 1293
 
1294
+        const nick = APP.settings.getDisplayName();
1295
+
1296
+        if (nick) {
1297
+            options.displayName = nick;
1298
+        }
1299
+
1294 1300
         return options;
1295 1301
     },
1296 1302
 

+ 7
- 0
config.js 查看文件

@@ -233,6 +233,13 @@ var config = {
233 233
     // callStatsID: '',
234 234
     // callStatsSecret: '',
235 235
 
236
+    // enables callstatsUsername to be reported as statsId and used
237
+    // by callstats as repoted remote id
238
+    // enableStatsID: false
239
+
240
+    // enables sending participants display name to callstats
241
+    // enableDisplayNameInStats: false
242
+
236 243
 
237 244
     // Privacy
238 245
     //

Loading…
取消
儲存