-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathrtcstats.html
62 lines (59 loc) · 1.55 KB
/
rtcstats.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
<html>
<head>
<meta charset="utf-8">
<title>Import rtcstats dumps</title>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<!-- highcharts is used under the terms of
http://shop.highsoft.com/faq/non-commercial
-->
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.10/pako.js"></script>
<script src="mangle.js"></script>
<script src="import-rtcstats.js"></script>
<style>
body, body svg text {
font-family: monospace;
}
details[open] pre {
padding-left: 10px;
padding-bottom: 10px;
}
table details[open] summary {
color: blue;
}
table details.host summary:after {
content: ' (host)';
}
table details.relay summary:after {
content: ' (relay)';
}
table details.srflx summary:after {
content: ' (srflx)'
}
#tables>details:nth-of-type(even) {
background-color: #f0f0f0;
}
.graph {
margin-left: 10px;
margin-right: 10px;
}
.candidatepairtable {
text-align: center;
}
.candidatepairtable td {
background-color: #ddd;
padding: 5px;
}
ice.style['background-color'] = '#ddd';
ice.style['text-align'] = 'center';
</style>
</head>
<body>
<form><input type="file" onchange="doImport(event)"></form>
<div><b>User Agent:</b> <span id="userAgent"></span></div>
<div id="tables">
</div>
<div id="container" style="min-width: 95%; height: 400px; margin: 0 auto">
</div>
</body>
</html>