"wait for remote video" loop no longer exists so no need to set 'removed' flag on video.
This commit is contained in:
parent
f2bd76ac93
commit
349f196664
|
@ -141,12 +141,11 @@ RemoteVideo.prototype.removeRemoteStreamElement = function (stream, isVideo, id)
|
|||
else
|
||||
select = $('#' + this.videoSpanId + '>audio');
|
||||
|
||||
|
||||
// Mark video as removed to cancel waiting loop(if video is removed
|
||||
// before has started)
|
||||
select.removed = true;
|
||||
select.remove();
|
||||
|
||||
console.info((isVideo ? "Video" : "Audio") +
|
||||
" removed " + this.getResourceJid(), select);
|
||||
|
||||
if (isVideo)
|
||||
this.VideoLayout.updateRemovedVideo(this.getResourceJid());
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue