Formats the resolution change log as JSON.
This commit is contained in:
parent
330597182c
commit
ddb356482f
|
@ -1255,9 +1255,14 @@ export default {
|
||||||
|
|
||||||
APP.UI.addListener(UIEvents.RESOLUTION_CHANGED,
|
APP.UI.addListener(UIEvents.RESOLUTION_CHANGED,
|
||||||
(id, oldResolution, newResolution, delay) => {
|
(id, oldResolution, newResolution, delay) => {
|
||||||
room.sendApplicationLog("Resolution change id=" + id
|
var logObject = {
|
||||||
+ " old=" + oldResolution + " new=" + newResolution
|
id: "resolution_change",
|
||||||
+ " delay=" + delay);
|
participant: id,
|
||||||
|
oldValue: oldResolution,
|
||||||
|
newValue: newResolution,
|
||||||
|
delay: delay
|
||||||
|
};
|
||||||
|
room.sendApplicationLog(JSON.stringify(logObject));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Starts or stops the recording for the conference.
|
// Starts or stops the recording for the conference.
|
||||||
|
|
Loading…
Reference in New Issue