forked from versatica/tryit-jssip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (55 loc) · 2.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!doctype html>
<html>
<head>
<title>tryit-jssip</title>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'>
<link rel='stylesheet' href='tryit-jssip.css'>
<script src='resources/js/antiglobal.js'></script>
<script>
// Set debug
window.localStorage.setItem('debug', '* -engine* -socket* *ERROR* *WARN*');
// Set antiglobal
window.antiglobal('___browserSync___oldSocketIo', 'JSON3', 'io', '___browserSync___', '__core-js_shared__', 'MediaStream', 'RTCPeerConnection', 'callstats', 'jssipCallstats');
setInterval(window.antiglobal, 5000);
</script>
<script src='https://api.callstats.io/static/callstats.min.js'></script>
<script src='https://api.callstats.io/static/callstats-jssip.min.js'></script>
<script>
window.SETTINGS =
{
display_name : null,
socket :
{
uri : 'wss://tst-std-secure.placetel.com:8443',
via_transport : 'auto',
},
registrar_server : null,
contact_uri : null,
authorization_user : null,
instance_id : null,
session_timers : true,
use_preloaded_route : false,
pcConfig :
{
rtcpMuxPolicy : 'negotiate',
iceServers :
[
{ urls : [ 'stun:stun.finotel.com:10000' ] }
]
},
callstats :
{
enabled : false,
AppID : null,
AppSecret : null
}
};
</script>
<script src='tryit-jssip.js'></script>
</head>
<body>
<div id='tryit-jssip-container'></div>
<div id='tryit-jssip-media-query-detector'></div>
</body>
</html>