瀏覽代碼

Reports resources as alias and usernames simultaneously to callstats backend.

dev1
damencho 9 年之前
父節點
當前提交
6993a876ca
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      modules/statistics/CallStats.js

+ 4
- 1
modules/statistics/CallStats.js 查看文件

144
         this.session = jingleSession;
144
         this.session = jingleSession;
145
         this.peerconnection = jingleSession.peerconnection.peerconnection;
145
         this.peerconnection = jingleSession.peerconnection.peerconnection;
146
 
146
 
147
-        this.userID = Settings.getCallStatsUserName();
147
+        this.userID = {
148
+            userName : Settings.getCallStatsUserName(),
149
+            aliasName : Strophe.getResourceFromJid(jingleSession.room.myroomjid)
150
+        };
148
 
151
 
149
         var location = window.location;
152
         var location = window.location;
150
         // The confID is case sensitive!!!
153
         // The confID is case sensitive!!!

Loading…
取消
儲存