summaryrefslogtreecommitdiff
path: root/example/index.html
diff options
context:
space:
mode:
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>