-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (35 loc) · 1.57 KB
/
Copy pathindex.html
File metadata and controls
43 lines (35 loc) · 1.57 KB
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
<html>
<head>
</head>
<head>
<meta charset="utf-8" />
<meta name='keywords' content='WebRTC, HTML5, JavaScript' />
<meta name='description' content='WebRTC benchmarks base for AZKAR project' />
<!-- viewport sert a controler la mise en page sur les appareils mobiles -->
<meta name='viewport' content='width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1'>
<link rel="stylesheet" href="/css/style.css" />
<title>1to1-basic-demo</title>
</head>
<body>
<strong><info id="zone_info_server"></info></strong>
<hr/>
<p><a href="/clientA/"> >>> Client A (Pilot)</a></p>
<p><a href="/clientB/"> >>> Client B (Robot)</a></p>
<p><a href="https://webrtchacks.github.io/WebRTC-Camera-Resolution/#bottom"> >>> Tools: WebRTC getUserMedia camera resolution finder</a></p>
<!--
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
-->
<script src="/js/lib/jquery-1.10.1.min.js"></script>
<script src="/js/common_settings.js"></script>
<script>
// On récupère depuis nodejs le nom de la machine serveur
// en passant par de l'AJAX plutôt que par websocket....
hostName = "???";
$.get( "/getvar", function( data ) {
hostName = data.hostName;
infoServerTxt = settings.appBranch() + ' - ' + settings.appName() + " V " + settings.appVersion()+ " ("+hostName+")";
if (hostName != "???" ) $('#zone_info_server').replaceWith(infoServerTxt);
});
</script>
</body>
</html>