Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(PageReloadOverlay): log the reload event

paweldomas0053c4df498f
diff --git a/conference.js b/conference.js
index a15cca2c84..ed18b1bf89 100644
--- a/conference.js
+++ b/conference.js
@@ -376,6 +376,11 @@ class ConferenceConnector {
case ConferenceErrors.FOCUS_LEFT:
case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
+ // Log the page reload event
+ // FIXME (CallStats - issue) this event will not make it to
+ // the CallStats, because the log queue is not flushed, before
+ // "fabric terminated" is sent to the backed
+ APP.conference.logEvent('page.reload');
// FIXME the conference should be stopped by the library and not by
// the app. Both the errors above are unrecoverable from the library
// perspective.