"wait for remote video" loop no longer exists so no need to set 'removed' flag on video.

pull/334/head
paweldomas 9 years ago
parent f2bd76ac93
commit 349f196664
  1. 7
      modules/UI/videolayout/RemoteVideo.js

@ -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…
Cancel
Save