Formats the resolution change log as JSON.

pull/754/head
Boris Grozev 9 years ago
parent 330597182c
commit ddb356482f
  1. 11
      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.

Loading…
Cancel
Save