Skip to content

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

Formats the resolution change log as JSON.

Boris Grozevddb356482fb3
diff --git a/conference.js b/conference.js
index 1c041592c0..2104f45930 100644
--- a/conference.js
+++ b/conference.js
@@ -1255,9 +1255,14 @@ export default {
APP.UI.addListener(UIEvents.RESOLUTION_CHANGED,
(id, oldResolution, newResolution, delay) => {
- room.sendApplicationLog("Resolution change id=" + id
- + " old=" + oldResolution + " new=" + newResolution
- + " delay=" + delay);
+ var logObject = {
+ id: "resolution_change",
+ participant: id,
+ oldValue: oldResolution,
+ newValue: newResolution,
+ delay: delay
+ };
+ room.sendApplicationLog(JSON.stringify(logObject));
});
// Starts or stops the recording for the conference.