index.html 866 Bytes
Newer Older
1 2 3 4
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
5
    <link rel="stylesheet" href="style.css">
6 7
  </head>
  <body>
8
    <script src="hls.js"></script>
9 10
    <script src="webrtc-adapter.js"></script>

Jakub Adam's avatar
Jakub Adam committed
11
    <header>
12
      <img src="COLLABORA_01_MONO.png">
Jakub Adam's avatar
Jakub Adam committed
13
    </header>
14 15 16 17 18 19 20 21 22 23
    <div id="videos">
      <div class="display_container">
        <video id="hls_video" autoplay></video>
        <div>HLS</div>
      </div>
      <div class="display_container">
        <video id="webrtc_video" autoplay></video>
        <div>WebRTC</div>
      </div>
    </div>
Jakub Adam's avatar
Jakub Adam committed
24
    <footer>
25
      <img src="gStreamer.svg">
Jakub Adam's avatar
Jakub Adam committed
26
    </footer>
27

Jakub Adam's avatar
Jakub Adam committed
28 29 30
    <script type="module">
      import * as mss from './mss.js'

Jakub Adam's avatar
Jakub Adam committed
31
      var hls = new mss.HLSStream(document.getElementById("hls_video"))
Jakub Adam's avatar
Jakub Adam committed
32
      var webrtc = new mss.WebRTCStream(document.getElementById("webrtc_video"))
33 34 35
    </script>
  </body>
</html>