@@ -589,7 +589,7 @@ function login(retryFlag) {
589
589
gLog ( 'outboundIP ' + outboundIP ) ;
590
590
591
591
getSettings ( ) ;
592
- /*
592
+ /*
593
593
if(!pushRegistration) {
594
594
// we retrieve the pushRegistration here under /callee/(calleeID),
595
595
// so that the pushRegistration.scope will also be /callee/(calleeID)
@@ -606,7 +606,7 @@ function login(retryFlag) {
606
606
console.log("serviceWorker.ready err",err.message);
607
607
});
608
608
}
609
- */
609
+ */
610
610
if ( parts . length >= 5 && parts [ 4 ] == "true" ) {
611
611
isHiddenCheckbox . checked = true ;
612
612
autoanswerCheckbox . checked = false ;
@@ -634,13 +634,13 @@ function login(retryFlag) {
634
634
if ( idx > 0 ) {
635
635
mainLink = mainLink . substring ( 0 , idx ) ; //+ "/webcall";
636
636
}
637
- /*
637
+ /*
638
638
if(loginStatus=="noservice") {
639
639
wsSecret = "";
640
640
showStatus("Service error<br><a href='"+mainLink+"'>Main page</a>",-1);
641
641
form.style.display = "none";
642
642
} else
643
- */
643
+ */
644
644
if ( loginStatus == "notregistered" ) {
645
645
wsSecret = "" ;
646
646
showStatus ( "User ID unknown<br>" , - 1 ) ;
@@ -742,9 +742,7 @@ function offlineAction() {
742
742
gLog ( 'offlineAction' ) ;
743
743
goOnlineButton . disabled = false ;
744
744
goOfflineButton . disabled = true ;
745
- //if(!mediaConnect) {
746
- onlineIndicator . src = "" ;
747
- //}
745
+ onlineIndicator . src = "" ;
748
746
}
749
747
750
748
function gotStream2 ( ) {
@@ -919,13 +917,7 @@ function wsOnOpen() {
919
917
}
920
918
isHiddenlabel . style . display = "block" ;
921
919
autoanswerlabel . style . display = "block" ;
922
-
923
- if ( typeof Android !== "undefined" && Android !== null ) {
924
- if ( Android . getVersionName ( ) != "1.0F" && Android . getVersionName ( ) != "1.0T" &&
925
- Android . getVersionName ( ) >= "1.0.3" ) {
926
- dialsoundslabel . style . display = "block" ;
927
- }
928
- }
920
+ dialsoundslabel . style . display = "block" ;
929
921
menuSettingsElement . style . display = "block" ;
930
922
iconContactsElement . style . display = "block" ;
931
923
dialIdElement . style . display = "block" ;
@@ -1133,8 +1125,8 @@ function signalingCommand(message) {
1133
1125
// candidate:1151307505 1 tcp 1518280447 192.168.3.209 9 typ host tcptype active generation 0 ufrag /RrR network-id 1
1134
1126
// candidate:2337567925 1 udp 1686052607 37.201.195.49 47218 typ srflx raddr 192.168.3.209 rport 19890 generation 0 ufrag /RrR network-id 1 L1451
1135
1127
// candidate:240334351 1 udp 41885439 66.228.46.43 50178 typ relay raddr 37.201.195.49 rport 47218 generation 0 ufrag /RrR network-id 1
1136
- gLog ( "peerCon.addIceCandidate accept address" , address , callerCandidate . candidate ) ;
1137
- // gLog("peerCon.addIceCandidate accept address="+address);
1128
+ // gLog("peerCon.addIceCandidate accept address", address, callerCandidate.candidate);
1129
+ gLog ( "peerCon.addIceCandidate accept address=" + address + " " + callerCandidate . candidate ) ;
1138
1130
if ( address . indexOf ( ":" ) >= 0
1139
1131
|| address == outboundIP
1140
1132
|| address . endsWith ( ".local" )
0 commit comments