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(){
$("#peer_" + id).remove();
}, 300);
if (mainVid == id || mainVid == id + '_incoming'){
if (mainVid == id + '_video_incoming' || mainVid == id + '_incoming'){
$('#mainVideo').hide(500);
setTimeout(function(){
$('#mainVideo').html('');

Loading…
Cancel
Save