Android app compatibility issue : force camera to be active to initialize connection.

This commit is contained in:
Pierre HUBERT 2019-02-26 18:48:24 +01:00
parent 69fffc2f32
commit 609c8dd637

View File

@ -489,9 +489,6 @@ ComunicWeb.components.calls.callWindow = {
//Load user media //Load user media
call.setLoadingMessage("Waiting for your microphone and camera..."); 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 * 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 //Add local stream to the list of visible stream
call.localStreamVideo = ComunicWeb.components.calls.callWindow.addVideoStream(call, true, stream); call.localStreamVideo = ComunicWeb.components.calls.callWindow.addVideoStream(call, true, stream);
//Initialize signaling server connection
ComunicWeb.components.calls.callWindow.initializeConnectionToSignalingServer(call);
return true; return true;
}).catch(function(e){ }).catch(function(e){