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
Updates app.bundle.js
paweldomas8fea9b76eeb9
diff --git a/index.html b/index.htmlindex 12adb82970..8985d01d07 100644--- a/index.html+++ b/index.html@@ -22,7 +22,7 @@<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib --><script src="libs/toastr.js?v=1"></script><!-- notifications lib --><script src="interface_config.js?v=5"></script>- <script src="libs/app.bundle.js?v=125"></script>+ <script src="libs/app.bundle.js?v=126"></script><script src="analytics.js?v=1"></script><!-- google analytics plugin --><link rel="stylesheet" href="css/font.css?v=7"/><link rel="stylesheet" href="css/toastr.css?v=1">diff --git a/libs/app.bundle.js b/libs/app.bundle.jsindex eba2861326..4ccc330b7f 100644--- a/libs/app.bundle.js+++ b/libs/app.bundle.js@@ -2050,7 +2050,7 @@ RTCUtils.prototype.createStream = function(stream, isVideo) {module.exports = RTCUtils;},{"../../service/RTC/Resolutions":104,"../xmpp/SDPUtil":60,"./RTCBrowserType":10,"./adapter.screenshare":12}],12:[function(require,module,exports){-/*! adapterjs - v0.11.0 - 2015-06-08 */+/*! adapterjs - custom version from - 2015-08-12 */// Adapter's interface.var AdapterJS = AdapterJS || {};@@ -2069,7 +2069,7 @@ AdapterJS.options = AdapterJS.options || {};// AdapterJS.options.hidePluginInstallPrompt = true;// AdapterJS version-AdapterJS.VERSION = '0.11.0';+AdapterJS.VERSION = '0.11.1';// This function will be called when the WebRTC API is ready to be used// Whether it is the native implementation (Chrome, Firefox, Opera) or@@ -2392,9 +2392,24 @@ AdapterJS.renderNotificationBar = function (text, buttonText, buttonLink, openNetry {event.cancelBubble = true;} catch(error) { }- });- }- else {++ var pluginInstallInterval = setInterval(function(){+ if(! isIE) {+ navigator.plugins.refresh(false);+ }+ AdapterJS.WebRTCPlugin.isPluginInstalled(+ AdapterJS.WebRTCPlugin.pluginInfo.prefix,+ AdapterJS.WebRTCPlugin.pluginInfo.plugName,+ function() {+ clearInterval(pluginInstallInterval);+ AdapterJS.WebRTCPlugin.defineWebRTCInterface()+ },+ function() { //Does nothing because not used here+ });+ } , 500);+ });++ }else {c.document.close();}AdapterJS.addEvent(c.document, 'click', function() {@@ -2912,6 +2927,11 @@ if (navigator.mozGetUserMedia) {};AdapterJS.WebRTCPlugin.defineWebRTCInterface = function () {+ if (AdapterJS.WebRTCPlugin.pluginState ===+ AdapterJS.WebRTCPlugin.PLUGIN_STATES.READY) {+ console.error("WebRTC interface has been defined already");+ return;+ }AdapterJS.WebRTCPlugin.pluginState = AdapterJS.WebRTCPlugin.PLUGIN_STATES.INITIALIZING;AdapterJS.isDefined = function (variable) {@@ -8174,6 +8194,20 @@ module.exports = {element.setAttribute("data-placement", position);element.setAttribute("data-html", true);element.setAttribute("data-container", "body");+ },++ /**+ * Inserts given child element as the first one into the container.+ * @param container the container to which new child element will be added+ * @param newChild the new element that will be inserted into the container+ */+ prependChild: function (container, newChild) {+ var firstChild = container.childNodes[0];+ if (firstChild) {+ container.insertBefore(newChild, firstChild);+ } else {+ container.appendChild(newChild);+ }}};},{"../side_pannels/SidePanelToggler":22}],36:[function(require,module,exports){@@ -9436,7 +9470,8 @@ LocalVideo.prototype.changeVideo = function (stream, isMuted) {localVideo.oncontextmenu = function () { return false; };var localVideoContainer = document.getElementById('localVideoWrapper');- localVideoContainer.appendChild(localVideo);+ // Put the new video always in front+ UIUtil.prependChild(localVideoContainer, localVideo);var localVideoSelector = $('#' + localVideo.id);@@ -9484,6 +9519,7 @@ var AudioLevels = require("../audio_levels/AudioLevels");var LargeVideo = require("./LargeVideo");var Avatar = require("../avatar/Avatar");var RTCBrowserType = require("../../RTC/RTCBrowserType");+var UIUtils = require("../util/UIUtil");function RemoteVideo(peerJid, VideoLayout) {this.peerJid = peerJid;@@ -9691,7 +9727,8 @@ RemoteVideo.prototype.addRemoteStreamElement = function (sid, stream, thessrc) {var streamElement = SmallVideo.createStreamElement(sid, stream);var newElementId = streamElement.id;- this.container.appendChild(streamElement);+ // Put new stream element always in front+ UIUtils.prependChild(this.container, streamElement);var sel = $('#' + newElementId);sel.hide();@@ -9892,7 +9929,7 @@ RemoteVideo.createContainer = function (spanId) {module.exports = RemoteVideo;-},{"../../RTC/RTCBrowserType":10,"../audio_levels/AudioLevels":14,"../avatar/Avatar":18,"./ConnectionIndicator":36,"./LargeVideo":37,"./SmallVideo":40}],40:[function(require,module,exports){+},{"../../RTC/RTCBrowserType":10,"../audio_levels/AudioLevels":14,"../avatar/Avatar":18,"../util/UIUtil":35,"./ConnectionIndicator":36,"./LargeVideo":37,"./SmallVideo":40}],40:[function(require,module,exports){/* global $, APP, require */var Avatar = require("../avatar/Avatar");var UIUtil = require("../util/UIUtil");@@ -15363,6 +15400,11 @@ var LocalSSRCReplacement = {if (!isEnabled)return localDescription;+ if (!localDescription) {+ console.warn("localDescription is null or undefined");+ return localDescription;+ }+// IF we have local video SSRC stored make sure it is replaced// with old SSRCif (localVideoSSRC) {