Переглянути джерело

Exposes logging an "application log" to callstats.

dev1
Boris Grozev 9 роки тому
джерело
коміт
073e0c6203
1 змінених файлів з 8 додано та 1 видалено
  1. 8
    1
      JitsiConference.js

+ 8
- 1
JitsiConference.js Переглянути файл

1002
         new Error(JSON.stringify(errorContent)));
1002
         new Error(JSON.stringify(errorContent)));
1003
     logger.error("Audio problem detected. The audio is received but not played",
1003
     logger.error("Audio problem detected. The audio is received but not played",
1004
         errorContent);
1004
         errorContent);
1005
-}
1005
+};
1006
+
1007
+/**
1008
+ * Logs an "application log" message
1009
+ */
1010
+JitsiConference.prototype.sendApplicationLog = function(message) {
1011
+    Statistics.sendLog(message);
1012
+};
1006
 
1013
 
1007
 /**
1014
 /**
1008
  * Setups the listeners needed for the conference.
1015
  * Setups the listeners needed for the conference.

Завантаження…
Відмінити
Зберегти