diff --git a/lib/webrtc/call.js b/lib/webrtc/call.js index b42ba3c0d..024bdc616 100644 --- a/lib/webrtc/call.js +++ b/lib/webrtc/call.js @@ -157,11 +157,21 @@ MatrixCall.prototype.placeScreenSharingCall = * @param {string} queueId Arbitrary ID to track the chain of promises to be used */ MatrixCall.prototype.playElement = function(element, queueId) { + console.log("queuing play on " + queueId + " and element " + element); // XXX: FIXME: Does this leak elements, given the old promises // may hang around and retain a reference to them? if (this.mediaPromises[queueId]) { + // XXX: these promises can fail (e.g. by