|
@@ -1305,13 +1305,21 @@ export default {
|
1305
|
1305
|
|
1306
|
1306
|
APP.UI.addListener(UIEvents.RESOLUTION_CHANGED,
|
1307
|
1307
|
(id, oldResolution, newResolution, delay) => {
|
1308
|
|
- // We only care about the delay between simulcast streams.
|
1309
|
|
- // Longer delays will be caused by something else and will just
|
1310
|
|
- // poison the data.
|
1311
|
|
- if (delay < 2000) {
|
1312
|
|
- JitsiMeetJS.analytics
|
1313
|
|
- .sendEvent('stream.switch.delay', delay);
|
1314
|
|
- }
|
|
1308
|
+ var logObject = {
|
|
1309
|
+ id: "resolution_change",
|
|
1310
|
+ participant: id,
|
|
1311
|
+ oldValue: oldResolution,
|
|
1312
|
+ newValue: newResolution,
|
|
1313
|
+ delay: delay
|
|
1314
|
+ };
|
|
1315
|
+ room.sendApplicationLog(JSON.stringify(logObject));
|
|
1316
|
+
|
|
1317
|
+ // We only care about the delay between simulcast streams.
|
|
1318
|
+ // Longer delays will be caused by something else and will just
|
|
1319
|
+ // poison the data.
|
|
1320
|
+ if (delay < 2000) {
|
|
1321
|
+ JitsiMeetJS.analytics.sendEvent('stream.switch.delay', delay);
|
|
1322
|
+ }
|
1315
|
1323
|
});
|
1316
|
1324
|
|
1317
|
1325
|
// Starts or stops the recording for the conference.
|