Browse Source

feat(stats): send 'session_terminate' application log

dev1
paweldomas 9 years ago
parent
commit
0265674f1b
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      JitsiConference.js

+ 2
- 0
JitsiConference.js View File

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();

Loading…
Cancel
Save