瀏覽代碼

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

master
paweldomas 10 年之前
父節點
當前提交
349f196664
共有 1 個檔案被更改,包括 3 行新增4 行删除
  1. 3
    4
      modules/UI/videolayout/RemoteVideo.js

+ 3
- 4
modules/UI/videolayout/RemoteVideo.js 查看文件

@@ -141,12 +141,11 @@ RemoteVideo.prototype.removeRemoteStreamElement = function (stream, isVideo, id)
141 141
     else
142 142
         select = $('#' + this.videoSpanId + '>audio');
143 143
 
144
-
145
-    // Mark video as removed to cancel waiting loop(if video is removed
146
-    // before has started)
147
-    select.removed = true;
148 144
     select.remove();
149 145
 
146
+    console.info((isVideo ? "Video" : "Audio") +
147
+                 " removed " + this.getResourceJid(), select);
148
+
150 149
     if (isVideo)
151 150
         this.VideoLayout.updateRemovedVideo(this.getResourceJid());
152 151
 };

Loading…
取消
儲存