aboutsummaryrefslogtreecommitdiff
path: root/tests/sockets/p2p/examples/data-demo.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sockets/p2p/examples/data-demo.html')
-rw-r--r--tests/sockets/p2p/examples/data-demo.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/sockets/p2p/examples/data-demo.html b/tests/sockets/p2p/examples/data-demo.html
new file mode 100644
index 00000000..eb61af9e
--- /dev/null
+++ b/tests/sockets/p2p/examples/data-demo.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <meta charset="utf-8" />
+</head>
+<body>
+ <div>instructions: open the connect link in a new window or tab; after a few seconds you should see a message in both instances indicating that they are connected</div>
+ <video id="local" autoplay></video>
+ <video id="remote" autoplay></video>
+ <div id="host"></div>
+ <pre id="chat"></pre>
+ <input type="text" id="chatinput">
+</body>
+<script src="../client/p2p-client.js"></script>
+<script src="data-demo.js"></script>
+</html>