FS-11262 [verto_communicator] prevent vertojs from stop retrying socket connection by undefined socketfallbackurl

This commit is contained in:
Marcell Guilherme Costa da Silva
2018-07-19 15:21:51 -03:00
parent 9bc84ac638
commit ee1418a5ca
4 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
"autocall": "3500",
"googlelogin": "true",
"wsURL": "wss://gamma.tollfreegateway.com/wss2",
"socketFallbackUrl": "wss://gamma.tollfreegateway.com/wss2",
"wsFallbackURL": "wss://gamma.tollfreegateway.com/wss2",
"turnServer": {
"urls": "turn:someturnserver.com:443?transport=tcp",
"credential": "1234",

View File

@@ -175,7 +175,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
password: $cookieStore.get('verto_demo_passwd') || "1234",
hostname: window.location.hostname,
wsURL: ("wss://" + window.location.hostname + ":8082"),
socketFallbackUrl: null,
wsFallbackURL: null,
turnServer: null,
resCheckEnded: false
};
@@ -735,7 +735,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
login: data.login + '@' + data.hostname,
passwd: data.password,
socketUrl: data.wsURL,
socketFallbackUrl: data.socketFallbackUrl,
wsFallbackURL: data.wsFallbackURL,
turnServer: data.turnServer,
tag: "webcam",
ringFile: "sounds/bell_ring2.wav",