<!DOCTYPE html>
<html>
<head>
<title>WebRTC Example 05 Screen Sharing</title>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/deepstream.io-client-js/2.1.1/deepstream.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/simple-peer/8.1.0/simplepeer.min.js"></script>
</head>
<body>
<div id="wrapper" class="centered">
<div id="domain-warning" class="warning">
This example will only work on deepstreamhub.com unless you change the domain path in <a href="https://github.com/deepstreamIO/dsh-demo-webrtc-examples/blob/master/05-screen-sharing/chrome-addon/manifest.json">https://github.com/deepstreamIO/dsh-demo-webrtc-examples/blob/master/05-screen-sharing/chrome-addon/manifest.json</a>
</div>
<div id="addon-not-found" class="warning">
Chrome extension not found. Install it by following the steps in
<a href="https://deepstreamhub.com/tutorials/protocols/webrtc-screen-sharing/#install-addon">
https://deepstreamhub.com/tutorials/protocols/webrtc-screen-sharing/#install-addon</a>
</div>
<button id="share-my-screen" disabled>share my screen</button><br />
<video id="local" width="640" height="360" autoplay style="background: #000;display: inline-block;margin-top: 20px;"></video>
</div>
</body>
</html>