Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Attempts to prevent blackness when switching simulcast streams.
George Politis774785c64805
diff --git a/index.html b/index.htmlindex 8171f3f3eb..e961fa68c7 100644--- a/index.html+++ b/index.html@@ -47,7 +47,7 @@<script src="analytics.js?v=1"></script><!-- google analytics plugin --><script src="rtp_sts.js?v=3"></script><!-- RTP stats processing --><script src="local_sts.js?v=2"></script><!-- Local stats processing -->- <script src="videolayout.js?v=18"></script><!-- video ui -->+ <script src="videolayout.js?v=19"></script><!-- video ui --><script src="connectionquality.js?v=1"></script><script src="toolbar.js?v=6"></script><!-- toolbar ui --><script src="toolbar_toggler.js?v=2"></script>@@ -249,6 +249,7 @@<a target="_new"><div class="watermark leftwatermark"></div></a><a target="_new"><div class="watermark rightwatermark"></div></a><a class="poweredby" href="http://jitsi.org" target="_new" >powered by jitsi.org</a>+ <video id="preload" style="display: none"></video><video id="largeVideo" autoplay oncontextmenu="return false;"></video></div><div id="remoteVideos">diff --git a/videolayout.js b/videolayout.jsindex 63013d5b28..9d50b80d5a 100644--- a/videolayout.js+++ b/videolayout.js@@ -227,7 +227,13 @@ var VideoLayout = (function (my) {if (fade) {$('#largeVideo').fadeOut(300, doUpdate);} else {- doUpdate();+ $("#preload").attr("src", largeVideoState.newSrc);+ // The 'canplay' event occurs when the browser can start+ // playing the specified audio/video. See:+ // http://www.w3schools.com/tags/av_event_canplay.asp+ $("#preload").one("canplay",function(){+ doUpdate();+ });}}}