Fix main video removal when the peer share its screen

master
Daniel Berteaud 11 years ago
parent 950a84fbbe
commit 811f61fab2
  1. 2
      public/js/vroom.js

@ -952,7 +952,7 @@ function initVroom(room) {
setTimeout(function(){ setTimeout(function(){
$("#peer_" + id).remove(); $("#peer_" + id).remove();
}, 300); }, 300);
if (mainVid == id || mainVid == id + '_incoming'){ if (mainVid == id + '_video_incoming' || mainVid == id + '_incoming'){
$('#mainVideo').hide(500); $('#mainVideo').hide(500);
setTimeout(function(){ setTimeout(function(){
$('#mainVideo').html(''); $('#mainVideo').html('');

Loading…
Cancel
Save