-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
69 lines (62 loc) · 1.97 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
63
64
65
66
67
68
69
<!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>
// Uncomment and fill the SETTINGS object in order to use hardcoded settings
//
// You don't need to set display_name nor uri, they can be set via HTTP form in
// the Login section of the web
//
// window.SETTINGS =
// {
// display_name : null,
// uri : null,
// password : null,
// socket :
// {
// uri : 'wss://sip.yourdomain.com',
// 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.l.google.com:19302' ] }
// ]
// },
// 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>