diff --git a/assets/js/components/calls/callWindow.js b/assets/js/components/calls/callWindow.js index af5210bf..0cf60c23 100644 --- a/assets/js/components/calls/callWindow.js +++ b/assets/js/components/calls/callWindow.js @@ -489,9 +489,6 @@ ComunicWeb.components.calls.callWindow = { //Load user media call.setLoadingMessage("Waiting for your microphone and camera..."); - //Initialize signaling server connection - ComunicWeb.components.calls.callWindow.initializeConnectionToSignalingServer(call); - /** * Start to automaticaly refresh information about the call */ @@ -536,6 +533,9 @@ ComunicWeb.components.calls.callWindow = { //Add local stream to the list of visible stream call.localStreamVideo = ComunicWeb.components.calls.callWindow.addVideoStream(call, true, stream); + //Initialize signaling server connection + ComunicWeb.components.calls.callWindow.initializeConnectionToSignalingServer(call); + return true; }).catch(function(e){