From 2dfa175bd13c106deec5ec8ae1f04b108f7d44e4 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Fri, 25 Dec 2020 20:29:46 +0100 Subject: [PATCH] Create video element early. --- static/galene.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/galene.js b/static/galene.js index 4190cd3..89afb0c 100644 --- a/static/galene.js +++ b/static/galene.js @@ -341,6 +341,8 @@ function gotDownStream(c) { c.onstats = gotDownStats; if(getSettings().activityDetection) c.setStatsInterval(activityDetectionInterval); + + setMedia(c, false); } // Store current browser viewport height in css variable