Fixes comments after review
This commit is contained in:
parent
bf9c4ea444
commit
4a1175d44f
|
@ -17,9 +17,12 @@ const ConnectionErrors = JitsiMeetJS.errors.connection;
|
||||||
* @param {string} [roomName] the name of the conference.
|
* @param {string} [roomName] the name of the conference.
|
||||||
*/
|
*/
|
||||||
function checkForAttachParametersAndConnect(id, password, connection) {
|
function checkForAttachParametersAndConnect(id, password, connection) {
|
||||||
console.log("call checkForAttachParametersAndConnect");
|
|
||||||
if(window.XMPPAttachInfo){
|
if(window.XMPPAttachInfo){
|
||||||
APP.connect.status = "connecting";
|
APP.connect.status = "connecting";
|
||||||
|
// When connection optimization is not deployed or enabled the default
|
||||||
|
// value will be window.XMPPAttachInfo.status = "error"
|
||||||
|
// If the connection optimization is deployed and enabled and there is
|
||||||
|
// a failure the value will be window.XMPPAttachInfo.status = "error"
|
||||||
if(window.XMPPAttachInfo.status === "error") {
|
if(window.XMPPAttachInfo.status === "error") {
|
||||||
connection.connect({id, password});
|
connection.connect({id, password});
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -9,3 +9,4 @@ sounds /usr/share/jitsi-meet/
|
||||||
fonts /usr/share/jitsi-meet/
|
fonts /usr/share/jitsi-meet/
|
||||||
images /usr/share/jitsi-meet/
|
images /usr/share/jitsi-meet/
|
||||||
lang /usr/share/jitsi-meet/
|
lang /usr/share/jitsi-meet/
|
||||||
|
connection_optimization /usr/share/jitsi-meet/
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<script src="config.js?v=15"></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
<script src="config.js?v=15"></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
||||||
<script src="utils.js?v=1"></script>
|
<script src="utils.js?v=1"></script>
|
||||||
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
||||||
|
<script src="connection_optimization/do_external_connect.js?v=1"></script>
|
||||||
<script src="interface_config.js?v=6"></script>
|
<script src="interface_config.js?v=6"></script>
|
||||||
<script src="libs/lib-jitsi-meet.min.js?v=139"></script>
|
<script src="libs/lib-jitsi-meet.min.js?v=139"></script>
|
||||||
<script src="libs/app.bundle.min.js?v=139"></script>
|
<script src="libs/app.bundle.min.js?v=139"></script>
|
||||||
|
|
Loading…
Reference in New Issue