summaryrefslogtreecommitdiff
path: root/example/index.html
diff options
context:
space:
mode:
authorChris Hiszpanski <chris.hiszpanski@verkada.com>2022-05-21 01:04:33 -0700
committerChris Hiszpanski <chris.hiszpanski@verkada.com>2022-05-21 02:01:54 -0700
commit12df87e791ee6e468df31a6c468595b8c124a2b4 (patch)
treeb3eea9989ed5412383ed9912bdaac3fb1412b570 /example/index.html
Bare bones demo
* ICE candidate parser * Simple demo.html * Outline of tinyrtc.h
Diffstat (limited to 'example/index.html')
-rw-r--r--example/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/example/index.html b/example/index.html
new file mode 100644
index 0000000..2fcb129
--- /dev/null
+++ b/example/index.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="author" content="Chris Hiszpanski">
+ <script src="adapter-latest.js"></script>
+ <script src="index.js"></script>
+ <style>
+ body {
+ font-family: sans-serif;
+ text-align: center;
+ }
+ video {
+ background: black;
+ width: 80%;
+ }
+ </style>
+ <title>TinyRTC Demo</title>
+ </head>
+ <body>
+ <h1>TinyRTC Demo</h1>
+ <video autoplay controls muted playsinline id="remoteVideo"></video>
+ </body>
+</html>