浏览代码

feat(stats): send 'session_terminate' application log

dev1
paweldomas 9 年前
父节点
当前提交
0265674f1b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      JitsiConference.js

+ 2
- 0
JitsiConference.js 查看文件

868
     // Send analytics event
868
     // Send analytics event
869
     Statistics.analytics.sendEvent(
869
     Statistics.analytics.sendEvent(
870
         "session.terminate", window.performance.now());
870
         "session.terminate", window.performance.now());
871
+    // Sends "session.terminate" through the stats as well
872
+    this.sendApplicationLog(JSON.stringify({ "id" : "session_terminate" }));
871
     // Stop the stats
873
     // Stop the stats
872
     if (this.statistics) {
874
     if (this.statistics) {
873
         this.statistics.stopRemoteStats();
875
         this.statistics.stopRemoteStats();

正在加载...
取消
保存