|
@@ -387,7 +387,7 @@ class ConferenceConnector {
|
387
|
387
|
// the app. Both the errors above are unrecoverable from the library
|
388
|
388
|
// perspective.
|
389
|
389
|
room.leave().then(() => connection.disconnect());
|
390
|
|
- APP.UI.showPageReloadOverlay();
|
|
390
|
+ APP.UI.showPageReloadOverlay(err);
|
391
|
391
|
break;
|
392
|
392
|
|
393
|
393
|
case ConferenceErrors.CONFERENCE_MAX_USERS:
|
|
@@ -550,7 +550,8 @@ export default {
|
550
|
550
|
// - connection dropped(closed by Strophe unexpectedly
|
551
|
551
|
// possible due too many transport errors)
|
552
|
552
|
logger.error("XMPP connection error: " + errMsg);
|
553
|
|
- APP.UI.showPageReloadOverlay();
|
|
553
|
+ APP.UI.showPageReloadOverlay(
|
|
554
|
+ "xmpp-conn-dropped:" + errMsg);
|
554
|
555
|
connection.removeEventListener(
|
555
|
556
|
ConnectionEvents.CONNECTION_FAILED, handler);
|
556
|
557
|
// FIXME it feels like the conference should be stopped
|
|
@@ -1736,14 +1737,16 @@ export default {
|
1736
|
1737
|
* @param {string} name the event name
|
1737
|
1738
|
* @param {int} value the value (it's int because google analytics supports
|
1738
|
1739
|
* only int).
|
|
1740
|
+ * @param {string} label short text which provides more info about the event
|
|
1741
|
+ * which allows to distinguish between few event cases of the same name
|
1739
|
1742
|
* NOTE: Should be used after conference.init
|
1740
|
1743
|
*/
|
1741
|
|
- logEvent(name, value) {
|
|
1744
|
+ logEvent(name, value, label) {
|
1742
|
1745
|
if(JitsiMeetJS.analytics) {
|
1743
|
|
- JitsiMeetJS.analytics.sendEvent(name, {value});
|
|
1746
|
+ JitsiMeetJS.analytics.sendEvent(name, {value, label});
|
1744
|
1747
|
}
|
1745
|
1748
|
if(room) {
|
1746
|
|
- room.sendApplicationLog(JSON.stringify({name, value}));
|
|
1749
|
+ room.sendApplicationLog(JSON.stringify({name, value, label}));
|
1747
|
1750
|
}
|
1748
|
1751
|
},
|
1749
|
1752
|
/**
|