Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <script src="adapter-latest.js"></script>
- <script type="text/javascript" src="$B2BAPIS/b2bapis/b2bapis.js"></script>
- <script src="$WEBAPIS/webapis/webapis.js"></script>
- <script src="browser.js"></script>
- <script src="webrtc.js"></script>
- </head>
- <body>
- <video id="localVideo" autoplay playsinline muted style="width:40%;"></video>
- <video id="remoteVideo" autoplay playsinline muted style="width:40%;"></video>
- <div style="margin-top: 10px;">
- Open this page in a second browser window then click below to start the WebRTC connection.
- </div>
- <div style="margin-top: 10px;">
- <input type="button" id="start" onclick="start(true)" value="Start WebRTC"></input>
- </div>
- <div>
- <canvas
- id="displaySurface"
- width="200"
- height="200"
- ></canvas>
- </div>
- <!-- <script type="text/javascript">-->
- <!-- pageReady();-->
- <!-- </script>-->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement