From 767e59a9f32356426344132b115117ccf78d4446 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 3 Jun 2014 11:18:47 +0200 Subject: [PATCH] Don't check if MoH is needed when the video being removed is our local screen --- public/js/vroom.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index 14634ff..b4da0c0 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -1096,7 +1096,9 @@ function initVroom(room) { }, 500); mainVid = false; } - checkMoh(); + if (id != 'local'){ + checkMoh(); + } }); // Error sending something through dataChannel